public function PluginDefinitionInterface::setClass in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Component/Plugin/Definition/PluginDefinitionInterface.php \Drupal\Component\Plugin\Definition\PluginDefinitionInterface::setClass()
Sets the class.
Parameters
string $class: A fully qualified class name.
Return value
static
Throws
\InvalidArgumentException If the class is invalid.
1 method overrides PluginDefinitionInterface::setClass()
- EntityType::setClass in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Sets the class.
File
- core/
lib/ Drupal/ Component/ Plugin/ Definition/ PluginDefinitionInterface.php, line 30 - Contains \Drupal\Component\Plugin\Definition\PluginDefinitionInterface.
Class
- PluginDefinitionInterface
- Defines a plugin definition.
Namespace
Drupal\Component\Plugin\DefinitionCode
public function setClass($class);