public function Editor::label in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::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 Entity::label
File
- core/
modules/ editor/ src/ Entity/ Editor.php, line 95 - Contains \Drupal\editor\Entity\Editor.
Class
- Editor
- Defines the configured text editor entity.
Namespace
Drupal\editor\EntityCode
public function label() {
return $this
->getFilterFormat()
->label();
}