You are here

public function RulesUiDefinition::setClass in Rules 8.3

Sets the class.

Parameters

string $class: A fully qualified class name.

Return value

static

Throws

\InvalidArgumentException If the class is invalid.

Overrides PluginDefinitionInterface::setClass

File

src/Ui/RulesUiDefinition.php, line 128

Class

RulesUiDefinition
Class for rules_ui plugin definitions.

Namespace

Drupal\rules\Ui

Code

public function setClass($class) {
  $this->class = $class;
  return $this;
}