You are here

public function DeleteUnit::execute in Booking and Availability Management Tools for Drupal 8

Executes the plugin.

Overrides ExecutableInterface::execute

File

modules/bat_unit/src/Plugin/Action/DeleteUnit.php, line 92
Contains \Drupal\bat_unit\Plugin\Action\DeleteUnit.

Class

DeleteUnit
Redirects to a unit deletion form.

Namespace

Drupal\bat_unit\Plugin\Action

Code

public function execute($object = NULL) {
  $this
    ->executeMultiple([
    $object,
  ]);
}