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

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c75dbcec494b
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 }