public function N1EDEcosystemCKEditorPlugin::isEnabled in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8
Checks if this plugin should be enabled based on the editor configuration.
The editor's settings can be retrieved via $editor->getSettings().
Parameters
\Drupal\editor\Entity\Editor $editor: A configured text editor object.
Return value
bool
Overrides CKEditorPluginContextualInterface::isEnabled
File
- src/
Plugin/ N1EDEcosystemCKEditorPlugin.php, line 98
Class
- N1EDEcosystemCKEditorPlugin
- Defines plugin.
Namespace
Drupal\n1ed\PluginCode
public function isEnabled(Editor $editor) {
return TRUE;
}