function ConfigFactoryInterface::listAll

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::listAll()
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::listAll()
  3. 10 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::listAll()

Gets configuration object names starting with a given prefix.

Parameters

string $prefix: (optional) The prefix to search for. If omitted, all configuration object names that exist are returned.

Return value

array An array containing matching configuration object names.

See also

\Drupal\Core\Config\StorageInterface::listAll()

1 method overrides ConfigFactoryInterface::listAll()
ConfigFactory::listAll in core/lib/Drupal/Core/Config/ConfigFactory.php
Gets configuration object names starting with a given prefix.

File

core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 109

Class

ConfigFactoryInterface
Defines the interface for a configuration object factory.

Namespace

Drupal\Core\Config

Code

public function listAll($prefix = '');

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.