public function ConfigActionsServiceInterface::listAll in Config Actions 8
Return a list of actions within a module
Parameters
string $module_name: If omitted, all actions are listed
string $file: if empty, list all actions files in the module. Otherwise only list actions in the named file. Just the file, not the path. Do not include the .yml extension.
Return value
array keyed by module name and action file name each element an action array keyed by action id $result[$module_name][$file_name][$action_id] = action_data
1 method overrides ConfigActionsServiceInterface::listAll()
- ConfigActionsService::listAll in src/
ConfigActionsService.php - Return a list of actions within a module
File
- src/
ConfigActionsServiceInterface.php, line 109
Class
- ConfigActionsServiceInterface
- Defines an interface for config actions service
Namespace
Drupal\config_actionsCode
public function listAll($module_name = '', $file = '');