public ConfigEntityDependency::hasDependency($type, $name)
Determines if the entity is dependent on extensions or entities.
Parameters
string $type: The type of dependency being checked. Either 'module', 'theme', 'config' or 'content'.
string $name: The specific name to check. If $type equals 'module' or 'theme' then it should be a module name or theme name. In the case of entity it should be the full configuration object name.
Return value
bool
File
core/lib/Drupal/Core/Config/Entity/ConfigE