function 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.

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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.