8.2.x PluginDefinitionInterface.php public PluginDefinitionInterface::setClass($class)
8.0.x PluginDefinitionInterface.php public PluginDefinitionInterface::setClass($class)
8.1.x PluginDefinitionInterface.php public PluginDefinitionInterface::setClass($class)
8.3.x PluginDefinitionInterface.php public PluginDefinitionInterface::setClass($class)

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 25

Class

PluginDefinitionInterface
Defines a plugin definition.

Namespace

Drupal\Component\Plugin\Definition

Code

public function setClass($class);