You are here

public function FeaturesExtensionStoragesInterface::listAll in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/FeaturesExtensionStoragesInterface.php \Drupal\features\FeaturesExtensionStoragesInterface::listAll()

Gets configuration object names starting with a given prefix.

Given the following configuration objects:

  • node.type.article
  • node.type.page

Passing the prefix 'node.type.' will return an array containing the above names.

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.

1 method overrides FeaturesExtensionStoragesInterface::listAll()
FeaturesExtensionStorages::listAll in src/FeaturesExtensionStorages.php
Gets configuration object names starting with a given prefix.

File

src/FeaturesExtensionStoragesInterface.php, line 71

Class

FeaturesExtensionStoragesInterface
The FeaturesExtensionStorages provides a collection of extension storages, one for each supported configuration directory.

Namespace

Drupal\features

Code

public function listAll($prefix = '');