You are here

public function ConfigManagerInterface::findConfigEntityDependents in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigManagerInterface.php \Drupal\Core\Config\ConfigManagerInterface::findConfigEntityDependents()

Deprecated method to find config entity dependencies.

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.

Deprecated

in drupal:9.3.0 and is removed from drupal:10.0.0. Instead you should use ConfigManagerInterface::findConfigEntityDependencies().

See also

https://www.drupal.org/node/3225357

1 method overrides ConfigManagerInterface::findConfigEntityDependents()
ConfigManager::findConfigEntityDependents in core/lib/Drupal/Core/Config/ConfigManager.php
Deprecated method to find config entity dependencies.

File

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

Class

ConfigManagerInterface
Provides an interface for configuration manager.

Namespace

Drupal\Core\Config

Code

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