Actor entity label now includes subtype
This commit is contained in:
parent
900ba263c7
commit
469f2413ec
@ -117,7 +117,8 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
|||||||
|
|
||||||
$name = $this->get('first_name')->value . ' ';
|
$name = $this->get('first_name')->value . ' ';
|
||||||
if ($this->get('middle_names')->value) $name .= $this->get('middle_names')->value . ' ';
|
if ($this->get('middle_names')->value) $name .= $this->get('middle_names')->value . ' ';
|
||||||
$name .= $this->get('last_name')->value;
|
$name .= $this->get('last_name')->value . ' ';
|
||||||
|
$name .= '(' . $this->bundle() . ')';
|
||||||
|
|
||||||
$this->setName($name);
|
$this->setName($name);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user