1<?php 2 3namespace Drupal\quickedit\Plugin; 4 5use Drupal\Core\Plugin\PluginBase; 6use 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 */ 16abstract class InPlaceEditorBase extends PluginBase implements InPlaceEditorInterface { 17 18 /** 19 * {@inheritdoc} 20 */ 21 public function getMetadata(FieldItemListInterface $items) { 22 return []; 23 } 24 25} 26