public function LayoutDefinition::setDeriver in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Layout/LayoutDefinition.php \Drupal\Core\Layout\LayoutDefinition::setDeriver()
- 10 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 543
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;
}