summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-05-10 00:35:32 (GMT)
committerAlex Pott2015-05-10 00:35:32 (GMT)
commit34a5bd19667e557920b0d63ab56cdc24dcc0b981 (patch)
tree7eca941e5da64513fbf0d917b4fe364ac6b7ce5b
parent19a7f811a7311d43151a4584c87fcf89bcbc6334 (diff)
Issue #2485403 by mmatsoo, gaurav_varshney: DependencyTrait documentation still mentions 'entity'
-rw-r--r--core/lib/Drupal/Core/Entity/DependencyTrait.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/lib/Drupal/Core/Entity/DependencyTrait.php b/core/lib/Drupal/Core/Entity/DependencyTrait.php
index 8dac895..e4c8cef 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()
*