public function ArrayPluginDefinitionDecorator::getDeriverClass in Plugin 8.2
Gets the deriver class.
Return value
string|null The fully qualified name of a class that implements \Drupal\Component\Plugin\Derivative\DeriverInterface or null.
Overrides PluginDeriverDefinitionInterface::getDeriverClass
File
- src/
PluginDefinition/ ArrayPluginDefinitionDecorator.php, line 167
Class
- ArrayPluginDefinitionDecorator
- Provides a plugin definition based on an array.
Namespace
Drupal\plugin\PluginDefinitionCode
public function getDeriverClass() {
return isset($this->arrayDefinition['deriver']) ? $this->arrayDefinition['deriver'] : NULL;
}