function CKEditor5PluginDefinition::setDeriver

Same name and namespace in other branches
  1. 10 core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::setDeriver()
  2. 11.x core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::setDeriver()

Sets the deriver of this plugin definition.

Parameters

string|null $deriver: Either the name of a class that implements \Drupal\Component\Plugin\Derivative\DeriverInterface, or NULL.

Return value

$this

Overrides DerivablePluginDefinitionInterface::setDeriver

File

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

Class

CKEditor5PluginDefinition
Provides an implementation of a CKEditor 5 plugin definition.

Namespace

Drupal\ckeditor5\Plugin

Code

public function setDeriver($deriver) {
    $this->drupal['deriver'] = $deriver;
    return $this;
}

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