You are here

public function QuickEditInPlaceEditorInterface::isCompatible in Quick Edit 7

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

Parameters

array $instance: The field instance to be in-place edited.

array $items: The field values to be in-place edited.

Return value

bool TRUE if it is compatible, FALSE otherwise.

3 methods override QuickEditInPlaceEditorInterface::isCompatible()
CKEditor::isCompatible in InPlaceEditors/CKEditor.php
Implements QuickEditInPlaceEditorInterface::isCompatible().
FormEditor::isCompatible in InPlaceEditors/formEditor.php
Implements QuickEditInPlaceEditorInterface::isCompatible().
PlainTextEditor::isCompatible in InPlaceEditors/plainTextEditor.php
Implements QuickEditInPlaceEditorInterface::isCompatible().

File

includes/QuickEditInPlaceEditorInterface.php, line 26
Contains Quick Edit's InPlaceEditorInterface.

Class

QuickEditInPlaceEditorInterface
Defines an interface for in-place editors plugins.

Code

public function isCompatible(array $instance, array $items);