interface LibraryBuilderInterface in The CodeMirror Editor 8
CodeMirror library builder interface.
Hierarchy
- interface \Drupal\codemirror_editor\LibraryBuilderInterface
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_editorView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LibraryBuilderInterface:: |
public | function | Builds a definition for CodeMirror library. | 1 |
LibraryBuilderInterface:: |
constant | |||
LibraryBuilderInterface:: |
constant | |||
LibraryBuilderInterface:: |
constant |