function Editor::label

Same name in other branches
  1. 9 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::label()
  2. 10 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::label()
  3. 11.x core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::label()

Overrides EntityBase::label

File

core/modules/editor/src/Entity/Editor.php, line 100

Class

Editor
Defines the configured text editor entity.

Namespace

Drupal\editor\Entity

Code

public function label() {
    return $this->getFilterFormat()
        ->label();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.