function ConfigManagerInterface::findConfigEntityDependencies

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigManagerInterface.php \Drupal\Core\Config\ConfigManagerInterface::findConfigEntityDependencies()
  2. 11.x core/lib/Drupal/Core/Config/ConfigManagerInterface.php \Drupal\Core\Config\ConfigManagerInterface::findConfigEntityDependencies()

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\ConfigEntityDependency[] An array of configuration entity dependency objects.

File

core/lib/Drupal/Core/Config/ConfigManagerInterface.php, line 117

Class

ConfigManagerInterface
Provides an interface for configuration manager.

Namespace

Drupal\Core\Config

Code

public function findConfigEntityDependencies($type, array $names);

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