You are here

interface LibraryBuilderInterface in The CodeMirror Editor 8

CodeMirror library builder interface.

Hierarchy

Expanded class hierarchy of LibraryBuilderInterface

All classes that implement LibraryBuilderInterface

1 file declares its use of LibraryBuilderInterface
CodeMirrorEditorCommands.php in src/Commands/CodeMirrorEditorCommands.php

File

src/LibraryBuilderInterface.php, line 8

Namespace

Drupal\codemirror_editor
View source
interface LibraryBuilderInterface {
  const CODEMIRROR_VERSION = '5.51.0';
  const CDN_URL = 'https://cdn.jsdelivr.net/npm/codemirror@{version}';
  const LIBRARY_PATH = '/libraries/codemirror/';

  /**
   * Builds a definition for CodeMirror library.
   *
   * @return array
   *   CodeMirror library definition.
   */
  public function build();

}

Members