You are here

public function VariableObject::setType in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/VariableObject.php \Drupal\business_rules\VariableObject::setType()

Set the variable type, usually the plugin id..

Parameters

string $type: The variable type.

1 call to VariableObject::setType()
VariableObject::__construct in src/VariableObject.php
VariableObject constructor.

File

src/VariableObject.php, line 105

Class

VariableObject
Class Variable to be used on BusinessRulesVariable plugins.

Namespace

Drupal\business_rules

Code

public function setType($type) {
  $this->type = $type;
}