You are here

GutenbergPluginBase.php in Gutenberg 8.2

Same filename and directory in other branches
  1. 8 src/GutenbergPluginBase.php

Namespace

Drupal\gutenberg

File

src/GutenbergPluginBase.php
View source
<?php

namespace Drupal\gutenberg;

use Drupal\Core\Plugin\PluginBase;
use Drupal\editor\Entity\Editor;

/**
 * Defines a base Gutenberg plugin implementation.
 */
abstract class GutenbergPluginBase extends PluginBase implements GutenbergPluginInterface {

  /**
   * {@inheritdoc}
   */
  public function getDependencies(Editor $editor) {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  public function getLibraries(Editor $editor) {
    return [];
  }

}

Classes

Namesort descending Description
GutenbergPluginBase Defines a base Gutenberg plugin implementation.