function CKEditor5PluginDefinition::hasConditions
Whether this plugin has conditions.
Return value
bool
See also
\Drupal\ckeditor5\Annotation\DrupalAspectsOfCKEditor5Plugin::$conditions
1 call to CKEditor5PluginDefinition::hasConditions()
- CKEditor5PluginDefinition::getConditions in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginDefinition.php  - Gets the list of conditions to enable this plugin.
 
File
- 
              core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginDefinition.php, line 386  
Class
- CKEditor5PluginDefinition
 - Provides an implementation of a CKEditor 5 plugin definition.
 
Namespace
Drupal\ckeditor5\PluginCode
public function hasConditions() : bool {
  return $this->drupal['conditions'] !== FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.