You are here

protected property CodemirrorModePluginManager::$defaults in The CodeMirror Editor 8

A set of defaults to be referenced by $this->processDefinition() if additional processing of plugins is necessary or helpful for development purposes.

Type: array

Overrides DefaultPluginManager::$defaults

File

src/CodemirrorModePluginManager.php, line 43

Class

CodemirrorModePluginManager
Defines a plugin manager to deal with CodeMirror modes.

Namespace

Drupal\codemirror_editor

Code

protected $defaults = [
  'id' => '',
  'label' => '',
  'usage' => [],
  'dependencies' => [],
  'class' => 'Drupal\\codemirror_editor\\CodemirrorModeDefault',
];