Provides a trait for managing an object's dependencies.
Hierarchy
- trait \Drupal\Core\Entity\DependencyTrait
File
- core/lib/Drupal/Core/Entity/DependencyTrait.php, line 8
Namespace
Drupal\Core\Entity
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DependencyTrait::$dependencies | protected | property | The object's dependencies. |
DependencyTrait::addDependencies | protected | function | Adds multiple dependencies. |
DependencyTrait::addDependency | protected | function | Adds a dependency. |
Please login to continue.