public function Contributor::label in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/Entity/Contributor.php \Drupal\bibcite_entity\Entity\Contributor::label()
Gets the label of the entity.
Return value
string|null The label of the entity, or NULL if there is no label defined.
Overrides ContentEntityBase::label
File
- modules/
bibcite_entity/ src/ Entity/ Contributor.php, line 78
Class
- Contributor
- Defines the Contributor entity.
Namespace
Drupal\bibcite_entity\EntityCode
public function label() {
return $this
->getName();
}