You are here

interface CodemirrorModeInterface in The CodeMirror Editor 8

Interface for CodeMirror mode plugins.

Hierarchy

Expanded class hierarchy of CodemirrorModeInterface

All classes that implement CodemirrorModeInterface

File

src/CodemirrorModeInterface.php, line 8

Namespace

Drupal\codemirror_editor
View source
interface CodemirrorModeInterface {

  /**
   * Returns the plugin label.
   *
   * @return string
   *   The label of the language mode.
   */
  public function label();

}

Members

Namesort descending Modifiers Type Description Overrides
CodemirrorModeInterface::label public function Returns the plugin label. 1