function CKEditor5PluginDefinition::isConfigurable

Same name in other branches
  1. 9 core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::isConfigurable()
  2. 10 core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::isConfigurable()

Whether this plugin is configurable by the user.

Return value

bool TRUE if it is configurable, FALSE otherwise.

See also

\Drupal\ckeditor5\Plugin\CKEditor5PluginConfigurableInterface

File

core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php, line 342

Class

CKEditor5PluginDefinition
Provides an implementation of a CKEditor 5 plugin definition.

Namespace

Drupal\ckeditor5\Plugin

Code

public function isConfigurable() : bool {
    return is_subclass_of($this->getClass(), CKEditor5PluginConfigurableInterface::class);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.