public function Synonym::label in Synonyms 2.0.x
Same name and namespace in other branches
- 8 src/Entity/Synonym.php \Drupal\synonyms\Entity\Synonym::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 EntityBase::label
File
- src/
Entity/ Synonym.php, line 78
Class
- Synonym
- Synonym configuration entity.
Namespace
Drupal\synonyms\EntityCode
public function label() {
return $this
->getProviderPluginInstance()
->getPluginDefinition()['label'];
}