public function SplitText::isEnabled in Paragraphs Features 8
Same name and namespace in other branches
- 2.x 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;
}