You are here

public function DerivablePluginDefinitionInterface::setDeriver in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/Definition/DerivablePluginDefinitionInterface.php \Drupal\Component\Plugin\Definition\DerivablePluginDefinitionInterface::setDeriver()
  2. 9 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

1 method overrides DerivablePluginDefinitionInterface::setDeriver()
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);