function PluginDefinition::setClass
Overrides PluginDefinitionInterface::setClass
2 calls to PluginDefinition::setClass()
- EntityType::setClass in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Sets the class.
- EntityType::setClass in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Sets the class.
2 methods override PluginDefinition::setClass()
- CKEditor5PluginDefinition::setClass in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginDefinition.php - Sets the class.
- EntityType::setClass in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Sets the class.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Definition/ PluginDefinition.php, line 42
Class
- PluginDefinition
- Provides object-based plugin definitions.
Namespace
Drupal\Component\Plugin\DefinitionCode
public function setClass($class) {
$this->class = $class;
return $this;
}