You are here

public function ConfigActionsService::listActions in Config Actions 8

Return a list of actions within an actions array

Parameters

array $actions: array of action data

Return value

array Returns the list of action ids contained within the action data Nested actions have the form parent:child

Overrides ConfigActionsServiceInterface::listActions

1 call to ConfigActionsService::listActions()
ConfigActionsService::listAll in src/ConfigActionsService.php
Return a list of actions within a module

File

src/ConfigActionsService.php, line 344

Class

ConfigActionsService
Base class for config_actions plugins.

Namespace

Drupal\config_actions

Code

public function listActions(array $action) {
  $action_list = [];
  $data = $this
    ->doProcessAction($action, [], [], '', '', $action_list);
  return $action_list;
}