Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DerivablePluginDefinitionInterface.php

function DerivablePluginDefinitionInterface::setDeriver

Sets the deriver of this plugin definition.

Parameters

class-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);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal