public function Action::__construct in Business Rules 2.x
Same name and namespace in other branches
- 8 src/Entity/Action.php \Drupal\business_rules\Entity\Action::__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/ Action.php, line 69
Class
- Action
- Defines the Action entity.
Namespace
Drupal\business_rules\EntityCode
public function __construct(array $values, $entity_type = 'business_rules_action') {
parent::__construct($values, $entity_type);
}