class FormEditor in Drupal 10
Same name and namespace in other branches
- 8 core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php \Drupal\quickedit\Plugin\InPlaceEditor\FormEditor
- 9 core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php \Drupal\quickedit\Plugin\InPlaceEditor\FormEditor
Defines the form in-place editor.
Plugin annotation
@InPlaceEditor(
id = "form"
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, MessengerTrait, StringTranslationTrait
- class \Drupal\quickedit\Plugin\InPlaceEditorBase implements InPlaceEditorInterface
- class \Drupal\quickedit\Plugin\InPlaceEditor\FormEditor
- class \Drupal\quickedit\Plugin\InPlaceEditorBase implements InPlaceEditorInterface
- class \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, MessengerTrait, StringTranslationTrait
Expanded class hierarchy of FormEditor
File
- core/
modules/ quickedit/ src/ Plugin/ InPlaceEditor/ FormEditor.php, line 15
Namespace
Drupal\quickedit\Plugin\InPlaceEditorView source
class FormEditor extends InPlaceEditorBase {
/**
* {@inheritdoc}
*/
public function isCompatible(FieldItemListInterface $items) {
return TRUE;
}
/**
* {@inheritdoc}
*/
public function getAttachments() {
return [
'library' => [
'quickedit/quickedit.inPlaceEditor.form',
],
];
}
}