comparison core/modules/quickedit/src/Plugin/InPlaceEditorBase.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2
3 namespace Drupal\quickedit\Plugin;
4
5 use Drupal\Core\Plugin\PluginBase;
6 use Drupal\Core\Field\FieldItemListInterface;
7
8 /**
9 * Defines a base in-place editor implementation.
10 *
11 * @see \Drupal\quickedit\Annotation\InPlaceEditor
12 * @see \Drupal\quickedit\Plugin\InPlaceEditorInterface
13 * @see \Drupal\quickedit\Plugin\InPlaceEditorManager
14 * @see plugin_api
15 */
16 abstract class InPlaceEditorBase extends PluginBase implements InPlaceEditorInterface {
17
18 /**
19 * {@inheritdoc}
20 */
21 public function getMetadata(FieldItemListInterface $items) {
22 return [];
23 }
24
25 }