public function SetUnitState::execute in Booking and Availability Management Tools for Drupal 8
Executes the plugin.
Overrides ExecutableInterface::execute
File
- modules/
bat_unit/ src/ Plugin/ Action/ SetUnitState.php, line 92 - Contains \Drupal\bat_unit\Plugin\Action\SetUnitState.
Class
- SetUnitState
- Assign fixed-state event to units.
Namespace
Drupal\bat_unit\Plugin\ActionCode
public function execute($entity = NULL) {
$this
->executeMultiple([
$entity,
]);
}