You are here

public function InPlaceEditorInterface::isCompatible in Zircon Profile 8.0

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.

4 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.
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 32
Contains \Drupal\quickedit\Plugin\InPlaceEditorInterface.

Class

InPlaceEditorInterface
Defines an interface for in-place editors plugins.

Namespace

Drupal\quickedit\Plugin

Code

public function isCompatible(FieldItemListInterface $items);