Actor entity label now includes subtype
This commit is contained in:
parent
900ba263c7
commit
469f2413ec
@ -115,9 +115,10 @@ 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 . ' ';
|
||||
$name .= $this->get('last_name')->value;
|
||||
$name .= $this->get('last_name')->value . ' ';
|
||||
$name .= '(' . $this->bundle() . ')';
|
||||
|
||||
$this->setName($name);
|
||||
|
||||
|
Reference in New Issue
Block a user