Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 2 |
InPlaceEditorBase | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
getMetadata | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\quickedit\Plugin\InPlaceEditorBase. | |
*/ | |
namespace Drupal\quickedit\Plugin; | |
use Drupal\Core\Plugin\PluginBase; | |
use Drupal\Core\Field\FieldItemListInterface; | |
/** | |
* Defines a base in-place editor implementation. | |
* | |
* @see \Drupal\quickedit\Annotation\InPlaceEditor | |
* @see \Drupal\quickedit\Plugin\InPlaceEditorInterface | |
* @see \Drupal\quickedit\Plugin\InPlaceEditorManager | |
* @see plugin_api | |
*/ | |
abstract class InPlaceEditorBase extends PluginBase implements InPlaceEditorInterface { | |
/** | |
* {@inheritdoc} | |
*/ | |
function getMetadata(FieldItemListInterface $items) { | |
return array(); | |
} | |
} |