Fixed theme function issue after creating entity, and remove "(Client)" etc from name finally!
This commit is contained in:
@ -122,7 +122,6 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
||||
if ($this->get('middle_names')->value) $name .= $this->get('middle_names')->value . ' ';
|
||||
$name .= $this->get('last_name')->value . ' ';
|
||||
}
|
||||
$name .= '(' . $this->type->entity->label() . ')';
|
||||
|
||||
$this->setName($name);
|
||||
|
||||
|
Reference in New Issue
Block a user