You are here

public function CKEditor5PluginDefinition::hasCKEditor5Config in Drupal 10

Whether this plugin has additional values for the CKEditor5 constructor.

Return value

bool

See also

\Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin::$config

File

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

Class

CKEditor5PluginDefinition
Provides an implementation of a CKEditor 5 plugin definition.

Namespace

Drupal\ckeditor5\Plugin

Code

public function hasCKEditor5Config() : bool {
  return $this
    ->getCKEditor5Config() !== [];
}