You are here

public function ConfigListInterface::listConfig in Configuration Update Manager 8

Lists the config objects in active and extension storage.

Parameters

string $list_type: Type of list to make: 'type', 'module', 'theme', or 'profile'.

string $name: Machine name of a configuration type, module, or theme to generate the list for. Ignored for profile, since that uses the active profile. Use type 'system.simple' for simple config, and 'system.all' to list all config items.

Return value

array Array whose first element is the list of config objects in active storage, second is the list of config objects in extension storage, and third is the list of optional config objects in extension storage (the ones with dependencies from config/optional directories). Note that for everything except 'type' lists, the active storage list includes all configuration items in the system, not limited to ones from this module, theme, or profile.

1 method overrides ConfigListInterface::listConfig()
ConfigLister::listConfig in src/ConfigLister.php
Lists the config objects in active and extension storage.

File

src/ConfigListInterface.php, line 72

Class

ConfigListInterface
Defines an interface for config listings.

Namespace

Drupal\config_update

Code

public function listConfig($list_type, $name);