public function ConfigManager::findConfigEntityDependentsAsEntities in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::findConfigEntityDependentsAsEntities()
Deprecated method to find config entity dependencies as 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.
Overrides ConfigManagerInterface::findConfigEntityDependentsAsEntities
Deprecated
in drupal:9.3.0 and is removed from drupal:10.0.0. Instead you should use ConfigManagerInterface::findConfigEntityDependenciesAsEntities().
See also
https://www.drupal.org/node/3225357
File
- core/
lib/ Drupal/ Core/ Config/ ConfigManager.php, line 313
Class
- ConfigManager
- The ConfigManager provides helper functions for the configuration system.
Namespace
Drupal\Core\ConfigCode
public function findConfigEntityDependentsAsEntities($type, array $names, ConfigDependencyManager $dependency_manager = NULL) {
@trigger_error('ConfigManagerInterface::findConfigEntityDependentsAsEntities() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Instead you should use ConfigManagerInterface::findConfigEntityDependenciesAsEntities(). See https://www.drupal.org/node/3225357', E_USER_DEPRECATED);
return $this
->findConfigEntityDependenciesAsEntities($type, $names, $dependency_manager);
}