Commit 34a5bd19 authored by alexpott's avatar alexpott
Browse files

Issue #2485403 by mmatsoo, gaurav_varshney: DependencyTrait documentation still mentions 'entity'

parent 19a7f811
......@@ -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()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment