function EditorInterface::hasAssociatedFilterFormat
Same name in other branches
- 9 core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::hasAssociatedFilterFormat()
- 10 core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::hasAssociatedFilterFormat()
- 11.x 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\editorCode
public function hasAssociatedFilterFormat();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.