whitespace

This commit is contained in:
naomi 2018-04-05 23:30:05 +02:00
parent 6cf7d5ee6f
commit 7cd8290047
2 changed files with 7 additions and 4 deletions

View File

@ -3,3 +3,6 @@ type: module
description: 'Zen CRM Entities'
core: 8.x
package: 'Zen CRM'
mtime: 1522776761
version: null
php: 5.5.9

View File

@ -8,10 +8,10 @@
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_ENTITY_TYPE_presave().
* Computes the full_name field from first_name middle_names and last_name.
* Computes the first_and_last_name field from first_name and last_name.
*/
* Implements hook_ENTITY_TYPE_presave().
* Computes the full_name field from first_name middle_names and last_name.
* Computes the first_and_last_name field from first_name and last_name.
*/
function zencrm_entities_person_presave($entity) {
$first_name = $entity->first_name->getString();
$middle_names = $entity->middle_names->getString();