function DerivablePluginDefinitionInterface::setDeriver

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Plugin/Definition/DerivablePluginDefinitionInterface.php \Drupal\Component\Plugin\Definition\DerivablePluginDefinitionInterface::setDeriver()
  2. 10 core/lib/Drupal/Component/Plugin/Definition/DerivablePluginDefinitionInterface.php \Drupal\Component\Plugin\Definition\DerivablePluginDefinitionInterface::setDeriver()
  3. 11.x core/lib/Drupal/Component/Plugin/Definition/DerivablePluginDefinitionInterface.php \Drupal\Component\Plugin\Definition\DerivablePluginDefinitionInterface::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

2 methods override DerivablePluginDefinitionInterface::setDeriver()
CKEditor5PluginDefinition::setDeriver in core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php
Sets the deriver of this plugin definition.
LayoutDefinition::setDeriver in core/lib/Drupal/Core/Layout/LayoutDefinition.php
Sets the deriver of this plugin definition.

File

core/lib/Drupal/Component/Plugin/Definition/DerivablePluginDefinitionInterface.php, line 29

Class

DerivablePluginDefinitionInterface
Provides an interface for a derivable plugin definition.

Namespace

Drupal\Component\Plugin\Definition

Code

public function setDeriver($deriver);

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