class FormEditor in Quick Edit 7
Defines the form in-place editor.
Hierarchy
- class \FormEditor implements QuickEditInPlaceEditorInterface
Expanded class hierarchy of FormEditor
1 string reference to 'FormEditor'
- quickedit_quickedit_editor_info in ./
quickedit.quickedit.inc - Implements hook_quickedit_editor_info().
File
- InPlaceEditors/
formEditor.php, line 15
View source
class FormEditor implements QuickEditInPlaceEditorInterface {
/**
* Implements QuickEditInPlaceEditorInterface::isCompatible().
*
* @see Drupal 8's \Drupal\quickedit\Plugin\InPlaceEditor\FormEditor::isCompatible().
*/
public function isCompatible(array $instance, array $items) {
return TRUE;
}
/**
* Implements QuickEditInPlaceEditorInterface::getMetadata().
*
* @see Drupal 8's \Drupal\quickedit\Plugin\InPlaceEditor\FormEditor::getMetadata().
*/
public function getMetadata(array $instance, array $items) {
return array();
}
/**
* Implements QuickEditInPlaceEditorInterface::getAttachments().
*
* @see Drupal 8's \Drupal\quickedit\Plugin\InPlaceEditor\FormEditor::isCompatible().
*/
public function getAttachments() {
return array(
'library' => array(
array(
'quickedit',
'quickedit.inPlaceEditor.form',
),
),
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FormEditor:: |
public | function |
Implements QuickEditInPlaceEditorInterface::getAttachments(). Overrides QuickEditInPlaceEditorInterface:: |
|
FormEditor:: |
public | function |
Implements QuickEditInPlaceEditorInterface::getMetadata(). Overrides QuickEditInPlaceEditorInterface:: |
|
FormEditor:: |
public | function |
Implements QuickEditInPlaceEditorInterface::isCompatible(). Overrides QuickEditInPlaceEditorInterface:: |