public function SplitText::isEnabled in Paragraphs Features 2.x
Same name and namespace in other branches
- 8 src/Plugin/CKEditorPlugin/SplitText.php \Drupal\paragraphs_features\Plugin\CKEditorPlugin\SplitText::isEnabled()
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/ CKEditorPlugin/ SplitText.php, line 44
Class
- SplitText
- Defines the "splittext" plugin.
Namespace
Drupal\paragraphs_features\Plugin\CKEditorPluginCode
public function isEnabled(Editor $editor) {
return TRUE;
}