You are here

public function InPlaceEditorInterface::isCompatible in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/quickedit/src/Plugin/InPlaceEditorInterface.php \Drupal\quickedit\Plugin\InPlaceEditorInterface::isCompatible()
  2. 9 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.

1 method overrides InPlaceEditorInterface::isCompatible()
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);