function Editor::hasAssociatedFilterFormat

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

Overrides EditorInterface::hasAssociatedFilterFormat

File

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

Class

Editor
Defines the configured text editor entity.

Namespace

Drupal\editor\Entity

Code

public function hasAssociatedFilterFormat() {
    return $this->format !== NULL;
}

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