You are here

public function ViewsBulkOperationsPassTestAction::execute in Views Bulk Operations (VBO) 4.0.x

Same name and namespace in other branches
  1. 8.3 tests/views_bulk_operations_test/src/Plugin/Action/ViewsBulkOperationsPassTestAction.php \Drupal\views_bulk_operations_test\Plugin\Action\ViewsBulkOperationsPassTestAction::execute()
  2. 8 tests/views_bulk_operations_test/src/Plugin/Action/ViewsBulkOperationsPassTestAction.php \Drupal\views_bulk_operations_test\Plugin\Action\ViewsBulkOperationsPassTestAction::execute()
  3. 8.2 tests/views_bulk_operations_test/src/Plugin/Action/ViewsBulkOperationsPassTestAction.php \Drupal\views_bulk_operations_test\Plugin\Action\ViewsBulkOperationsPassTestAction::execute()

Executes the plugin.

Overrides ExecutableInterface::execute

File

tests/views_bulk_operations_test/src/Plugin/Action/ViewsBulkOperationsPassTestAction.php, line 62

Class

ViewsBulkOperationsPassTestAction
Action for test purposes only.

Namespace

Drupal\views_bulk_operations_test\Plugin\Action

Code

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