public function ConfigManagerInterface::findConfigEntityDependentsAsEntities in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Config/ConfigManagerInterface.php \Drupal\Core\Config\ConfigManagerInterface::findConfigEntityDependentsAsEntities()
Finds config entities that are dependent on extensions or entities.
Parameters
string $type: The type of dependency being checked. Either 'module', 'theme', 'config' or 'content'.
array $names: The specific names to check. If $type equals 'module' or 'theme' then it should be a list of module names or theme names. In the case of 'config' or 'content' it should be a list of configuration dependency names.
Return value
\Drupal\Core\Config\Entity\ConfigEntityInterface[] An array of dependencies as configuration entities.
1 method overrides ConfigManagerInterface::findConfigEntityDependentsAsEntities()
- ConfigManager::findConfigEntityDependentsAsEntities in core/
lib/ Drupal/ Core/ Config/ ConfigManager.php - Finds config entities that are dependent on extensions or entities.
File
- core/
lib/ Drupal/ Core/ Config/ ConfigManagerInterface.php, line 145
Class
- ConfigManagerInterface
- Provides an interface for configuration manager.
Namespace
Drupal\Core\ConfigCode
public function findConfigEntityDependentsAsEntities($type, array $names);