class CKEditor5AspectsOfCKEditor5Plugin

Same name in this branch
  1. 10 core/modules/ckeditor5/src/Annotation/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin
Same name and namespace in other branches
  1. 9 core/modules/ckeditor5/src/Annotation/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin
  2. 11.x core/modules/ckeditor5/src/Annotation/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin
  3. 11.x core/modules/ckeditor5/src/Attribute/CKEditor5AspectsOfCKEditor5Plugin.php \Drupal\ckeditor5\Attribute\CKEditor5AspectsOfCKEditor5Plugin

Hierarchy

Expanded class hierarchy of CKEditor5AspectsOfCKEditor5Plugin

File

core/modules/ckeditor5/src/Attribute/CKEditor5AspectsOfCKEditor5Plugin.php, line 9

Namespace

Drupal\ckeditor5\Attribute
View source
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(public readonly array $plugins, public readonly array $config = []) {
  }
  
  /**
   * {@inheritdoc}
   */
  public function get() : array|object {
    return [
      'plugins' => $this->plugins,
      'config' => $this->config,
    ];
  }

}

Members

Title Sort descending Modifiers Object type Summary
CKEditor5AspectsOfCKEditor5Plugin::get public function
CKEditor5AspectsOfCKEditor5Plugin::__construct public function Constructs a CKEditor5AspectsOfCKEditor5Plugin attribute.

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