You are here

public function FeaturesExtensionStoragesInterface::listExtensionConfig in Features 8.4

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

Lists names of configuration objects provided by a given extension.

If a $name and/or $namespace is specified, only matching modules will be returned. Otherwise, all install are returned.

Parameters

mixed $extension: A string name of an extension or a full Extension object.

Return value

array An array of configuration object names.

1 method overrides FeaturesExtensionStoragesInterface::listExtensionConfig()
FeaturesExtensionStorages::listExtensionConfig in src/FeaturesExtensionStorages.php
Lists names of configuration objects provided by a given extension.

File

src/FeaturesExtensionStoragesInterface.php, line 85

Class

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

Namespace

Drupal\features

Code

public function listExtensionConfig(Extension $extension);