public function CodemirrorModeManagerInterface::normalizeMode in The CodeMirror Editor 8
Normalizes language mode.
Parameters
string $mode: Language mode to normalize.
Return value
string Normalized language mode.
1 method overrides CodemirrorModeManagerInterface::normalizeMode()
- CodemirrorModePluginManager::normalizeMode in src/
CodemirrorModePluginManager.php - Normalizes language mode.
File
- src/
CodemirrorModeManagerInterface.php, line 29
Class
- CodemirrorModeManagerInterface
- Interface for CodeMirror mode manager.
Namespace
Drupal\codemirror_editorCode
public function normalizeMode($mode);