Editor::label

public 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 93

Class

Editor
Defines the configured text editor entity.

Namespace

Drupal\editor\Entity

Code

public function label() {
  return $this->getFilterFormat()->label();
}
doc_Drupal
2016-10-29 09:03:43
Comments
Leave a Comment

Please login to continue.