CKEditor5AspectsOfCKEditor5Plugin.php
Same filename in this branch
Same filename in other branches
Namespace
Drupal\ckeditor5\AttributeFile
-
core/
modules/ ckeditor5/ src/ Attribute/ CKEditor5AspectsOfCKEditor5Plugin.php
View source
<?php
declare (strict_types=1);
namespace Drupal\ckeditor5\Attribute;
use Drupal\Component\Plugin\Attribute\Plugin;
class CKEditor5AspectsOfCKEditor5Plugin extends Plugin {
/**
* Constructs a CKEditor5AspectsOfCKEditor5Plugin attribute.
*
* @param class-string[] $plugins
* The CKEditor 5 plugin classes provided. Found in the CKEditor5 global js
* object as {package.Class}.
* @param array $config
* (optional) A keyed array of additional values for the CKEditor 5
* configuration.
*/
public function __construct(array $plugins, array $config = []) {
}
/**
* {@inheritdoc}
*/
public function get() : array|object {
return [
'plugins' => $this->plugins,
'config' => $this->config,
];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
CKEditor5AspectsOfCKEditor5Plugin |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.