You are here

public function PluginDefinitionInterface::setClass in Plug 7

Sets the class.

Parameters

string $class: A fully qualified class name.

Return value

static

Throws

\InvalidArgumentException If the class is invalid.

File

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\Definition

Code

public function setClass($class);