public function PluginDeriverDefinitionTrait::setDeriverClass in Plugin 8.2
Implements \Drupal\plugin\PluginDefinition\PluginDeriverDefinitionInterface::setDeriverClass().
File
- src/
PluginDefinition/ PluginDeriverDefinitionTrait.php, line 24
Class
- PluginDeriverDefinitionTrait
- Implements \Drupal\plugin\PluginDefinition\PluginDeriverDefinitionInterface.
Namespace
Drupal\plugin\PluginDefinitionCode
public function setDeriverClass($class) {
PluginDefinitionValidator::validateClass($class);
$this->deriverClass = $class;
return $this;
}