function EditorInterface::getFilterFormat

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

Returns the filter format this text editor is associated with.

This could be NULL if the associated filter format is still being created.

Return value

\Drupal\filter\FilterFormatInterface|null

See also

hasAssociatedFilterFormat()

1 method overrides EditorInterface::getFilterFormat()
Editor::getFilterFormat in core/modules/editor/src/Entity/Editor.php
Returns the filter format this text editor is associated with.

File

core/modules/editor/src/EditorInterface.php, line 31

Class

EditorInterface
Provides an interface defining a text editor entity.

Namespace

Drupal\editor

Code

public function getFilterFormat();

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