You are here

public function EditorInterface::hasAssociatedFilterFormat in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::hasAssociatedFilterFormat()

Returns whether this text editor has an associated filter format.

A text editor may be created at the same time as the filter format it's going to be associated with; in that case, no filter format object is available yet.

Return value

bool

1 method overrides EditorInterface::hasAssociatedFilterFormat()
Editor::hasAssociatedFilterFormat in core/modules/editor/src/Entity/Editor.php
Returns whether this text editor has an associated filter format.

File

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

Class

EditorInterface
Provides an interface defining a text editor entity.

Namespace

Drupal\editor

Code

public function hasAssociatedFilterFormat();