public function ViewsBulkOperationsActionManager::getDefinitions in Views Bulk Operations (VBO) 4.0.x
Same name and namespace in other branches
- 8.3 src/Service/ViewsBulkOperationsActionManager.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionManager::getDefinitions()
- 8 src/Service/ViewsBulkOperationsActionManager.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionManager::getDefinitions()
- 8.2 src/Service/ViewsBulkOperationsActionManager.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionManager::getDefinitions()
Parameters
array $parameters: Parameters of the method. Passed to alter event.
Overrides DefaultPluginManager::getDefinitions
1 call to ViewsBulkOperationsActionManager::getDefinitions()
- ViewsBulkOperationsActionManager::getDefinition in src/
Service/ ViewsBulkOperationsActionManager.php - Gets a specific plugin definition.
File
- src/
Service/ ViewsBulkOperationsActionManager.php, line 135
Class
- ViewsBulkOperationsActionManager
- Defines Views Bulk Operations action manager.
Namespace
Drupal\views_bulk_operations\ServiceCode
public function getDefinitions(array $parameters = []) {
if (empty($parameters['nocache'])) {
$definitions = $this
->getCachedDefinitions();
}
if (!isset($definitions)) {
$this->alterParameters = $parameters;
$definitions = $this
->findDefinitions($parameters);
$this
->setCachedDefinitions($definitions);
}
return $definitions;
}