EditorBase.php 511 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
<?php

/**
 * @file
 * Contains \Drupal\edit\EditorBase.
 */

namespace Drupal\edit;

use Drupal\Component\Plugin\PluginBase;
11
use Drupal\edit\EditPluginInterface;
12
use Drupal\field\Plugin\Core\Entity\FieldInstance;
13
14

/**
15
 * Defines a base editor implementation.
16
 */
17
abstract class EditorBase extends PluginBase implements EditPluginInterface {
18
19

  /**
20
   * Implements \Drupal\edit\EditPluginInterface::getMetadata().
21
22
23
24
25
26
   */
  function getMetadata(FieldInstance $instance, array $items) {
    return array();
  }

}