You are here

CodemirrorModeDefault.php in The CodeMirror Editor 8

File

src/CodemirrorModeDefault.php
View source
<?php

namespace Drupal\codemirror_editor;

use Drupal\Core\Plugin\PluginBase;

/**
 * Default class used for CodeMirror mode plugins.
 */
class CodemirrorModeDefault extends PluginBase implements CodemirrorModeInterface {

  /**
   * {@inheritdoc}
   */
  public function label() {
    return $this->pluginDefinition['label'];
  }

}

Classes

Namesort descending Description
CodemirrorModeDefault Default class used for CodeMirror mode plugins.