function FormEditor::isCompatible

Same name and namespace in other branches
  1. 8.9.x core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php \Drupal\quickedit\Plugin\InPlaceEditor\FormEditor::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.

Overrides InPlaceEditorInterface::isCompatible

File

core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php, line 20

Class

FormEditor
Defines the form in-place editor.

Namespace

Drupal\quickedit\Plugin\InPlaceEditor

Code

public function isCompatible(FieldItemListInterface $items) {
    return TRUE;
}

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