public Editor::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
Overrides EditorInterface::hasAssociatedFilterFormat
File
- core/modules/editor/src/Entity/Editor.php, line 114
Class
- Editor
- Defines the configured text editor entity.
Namespace
Drupal\editor\Entity
Code
1 2 3 | public function hasAssociatedFilterFormat() { return $this ->format !== NULL; } |
Please login to continue.