public function CodemirrorModeDefault::label in The CodeMirror Editor 8
Returns the plugin label.
Return value
string The label of the language mode.
Overrides CodemirrorModeInterface::label
File
- src/
CodemirrorModeDefault.php, line 15
Class
- CodemirrorModeDefault
- Default class used for CodeMirror mode plugins.
Namespace
Drupal\codemirror_editorCode
public function label() {
return $this->pluginDefinition['label'];
}