You are here

public function InPlaceEditorInterface::isCompatible in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/quickedit/src/Plugin/InPlaceEditorInterface.php \Drupal\quickedit\Plugin\InPlaceEditorInterface::isCompatible()

Checks whether this in-place editor is compatible with a given field.

Parameters

\Drupal\Core\Field\FieldItemListInterface $items: The field values to be in-place edited.

Return value

bool TRUE if it is compatible, FALSE otherwise.

5 methods override InPlaceEditorInterface::isCompatible()
Editor::isCompatible in core/modules/editor/src/Plugin/InPlaceEditor/Editor.php
Checks whether this in-place editor is compatible with a given field.
FormEditor::isCompatible in core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php
Checks whether this in-place editor is compatible with a given field.
Image::isCompatible in core/modules/image/src/Plugin/InPlaceEditor/Image.php
Checks whether this in-place editor is compatible with a given field.
PlainTextEditor::isCompatible in core/modules/quickedit/src/Plugin/InPlaceEditor/PlainTextEditor.php
Checks whether this in-place editor is compatible with a given field.
WysiwygEditor::isCompatible in core/modules/quickedit/tests/modules/src/Plugin/InPlaceEditor/WysiwygEditor.php
Checks whether this in-place editor is compatible with a given field.

File

core/modules/quickedit/src/Plugin/InPlaceEditorInterface.php, line 27

Class

InPlaceEditorInterface
Defines an interface for in-place editors plugins.

Namespace

Drupal\quickedit\Plugin

Code

public function isCompatible(FieldItemListInterface $items);