Newer
Older
Angie Byron
committed
<?php
/**
* @file
* Contains \Drupal\edit\EditorBase.
*/
namespace Drupal\edit;
use Drupal\Component\Plugin\PluginBase;
use Drupal\edit\EditorInterface;
Alex Pott
committed
use Drupal\field\Plugin\Core\Entity\FieldInstance;
Angie Byron
committed
/**
* Defines a base editor (Create.js PropertyEditor widget) implementation.
*/
abstract class EditorBase extends PluginBase implements EditorInterface {
/**
* Implements \Drupal\edit\EditorInterface::getMetadata().
*/
function getMetadata(FieldInstance $instance, array $items) {
return array();
}
}