You are here

public function ConfigFactoryInterface::listAll in Drupal 9

Same name and namespace in other branches
  1. 8 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 = '');