public function Persona::getName in Drupal PM (Project Management) 4.x
Gets the Persona name.
Return value
string Name of the Persona.
Overrides PersonaInterface::getName
File
- modules/
pm_persona/ src/ Entity/ Persona.php, line 81
Class
- Persona
- Defines the Persona entity.
Namespace
Drupal\pm_persona\EntityCode
public function getName() {
return $this
->get('name')->value;
}