public function ViewsBulkOperationsActionInterface::setContext in Views Bulk Operations (VBO) 8
Same name and namespace in other branches
- 8.3 src/Action/ViewsBulkOperationsActionInterface.php \Drupal\views_bulk_operations\Action\ViewsBulkOperationsActionInterface::setContext()
- 8.2 src/Action/ViewsBulkOperationsActionInterface.php \Drupal\views_bulk_operations\Action\ViewsBulkOperationsActionInterface::setContext()
- 4.0.x src/Action/ViewsBulkOperationsActionInterface.php \Drupal\views_bulk_operations\Action\ViewsBulkOperationsActionInterface::setContext()
Set action context.
Implementation should have an option to add data to the context, not overwrite it on every method execution.
Parameters
array $context: The context array.
See also
ViewsBulkOperationsActionBase::setContext
1 method overrides ViewsBulkOperationsActionInterface::setContext()
- ViewsBulkOperationsActionBase::setContext in src/
Action/ ViewsBulkOperationsActionBase.php - Set action context.
File
- src/
Action/ ViewsBulkOperationsActionInterface.php, line 23
Class
- ViewsBulkOperationsActionInterface
- Defines Views Bulk Operations action interface.
Namespace
Drupal\views_bulk_operations\ActionCode
public function setContext(array &$context);