You are here

public function EditorInterface::getFilterFormat in Drupal 8

Same name and namespace in other branches
  1. 9 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();