3 namespace Drupal\libraries\ExternalLibrary\Dependency;
6 * Provides a trait for libraries that depend on other libraries.
8 trait DependentLibraryTrait {
11 * An array of library IDs of libraries that the library depends on.
15 protected $dependencies;
18 * Returns the libraries dependencies, if any.
21 * An array of library IDs of libraries that the library depends on.
23 * @see \Drupal\libraries\ExternalLibrary\Dependency\DependentLibraryInterface::getDependencies()
25 public function getDependencies() {
26 return $this->dependencies;