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