whitespace
This commit is contained in:
parent
6cf7d5ee6f
commit
7cd8290047
@ -3,3 +3,6 @@ type: module
|
||||
description: 'Zen CRM Entities'
|
||||
core: 8.x
|
||||
package: 'Zen CRM'
|
||||
mtime: 1522776761
|
||||
version: null
|
||||
php: 5.5.9
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user