protected ConfigEntityBase::addDependency($type, $name)
Overrides \Drupal\Core\Entity\DependencyTrait:addDependency().
Note that this function should only be called from implementations of \Drupal\Core\Config\Entity\ConfigEntityInterface::calculateDependencies(), as dependencies are recalculated during every entity save.
See also
\Drupal\Core\Config\Entity\ConfigEntityDependency::hasDependency()
File
core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 454
Class
ConfigEntityBase