diff --git a/core/lib/Drupal/Core/Entity/DependencyTrait.php b/core/lib/Drupal/Core/Entity/DependencyTrait.php index 8dac89565b16b4be3da2345415f12bcda8f0ef25..e4c8cef07ef68471ddb2998890452bdf5917cd69 100644 --- a/core/lib/Drupal/Core/Entity/DependencyTrait.php +++ b/core/lib/Drupal/Core/Entity/DependencyTrait.php @@ -23,10 +23,11 @@ trait DependencyTrait { * Adds a dependency. * * @param string $type - * The type of dependency being added: 'module', 'theme', or 'entity'. + * Type of dependency being added: 'module', 'theme', 'config', 'content'. * @param string $name * If $type is 'module' or 'theme', the name of the module or theme. If - * $type is 'entity', the full configuration object name. + * $type is 'config' or 'content', the result of + * EntityInterface::getConfigDependencyName(). * * @see \Drupal\Core\Entity\EntityInterface::getConfigDependencyName() *