public function Variable::__construct in Business Rules 2.x
Same name and namespace in other branches
- 8 src/Entity/Variable.php \Drupal\business_rules\Entity\Variable::__construct()
Constructs an Entity object.
Parameters
array $values: An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified.
string $entity_type: The type of the entity to create.
Overrides BusinessRulesItemBase::__construct
File
- src/
Entity/ Variable.php, line 67
Class
- Variable
- Defines the Variable entity.
Namespace
Drupal\business_rules\EntityCode
public function __construct(array $values, $entity_type = 'business_rules_variable') {
parent::__construct($values, $entity_type);
}