3 namespace Drupal\Component\Plugin\Definition;
6 * Provides an interface for a derivable plugin definition.
8 * @see \Drupal\Component\Plugin\Derivative\DeriverInterface
10 interface DerivablePluginDefinitionInterface extends PluginDefinitionInterface {
13 * Gets the name of the deriver of this plugin definition, if it exists.
16 * Either the deriver class name, or NULL if the plugin is not derived.
18 public function getDeriver();
21 * Sets the deriver of this plugin definition.
23 * @param string|null $deriver
24 * Either the name of a class that implements
25 * \Drupal\Component\Plugin\Derivative\DeriverInterface, or NULL.
29 public function setDeriver($deriver);