public function LayoutDefinition::setDeriver in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Layout/LayoutDefinition.php \Drupal\Core\Layout\LayoutDefinition::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/
lib/ Drupal/ Core/ Layout/ LayoutDefinition.php, line 556
Class
- LayoutDefinition
- Provides an implementation of a layout definition and its metadata.
Namespace
Drupal\Core\LayoutCode
public function setDeriver($deriver) {
$this->deriver = $deriver;
return $this;
}