public function EntityInterface::label in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::label()
Gets the label of the entity.
Return value
string|null The label of the entity, or NULL if there is no label defined.
2 methods override EntityInterface::label()
- Entity::label in core/
lib/ Drupal/ Core/ Entity/ Entity.php - Gets the label of the entity.
- ViewUI::label in core/
modules/ views_ui/ src/ ViewUI.php - Gets the label of the entity.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityInterface.php, line 101 - Contains \Drupal\Core\Entity\EntityInterface.
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public function label();