Dependencies.php in Search API 8
Namespace
Drupal\search_api\UtilityFile
src/Utility/Dependencies.phpView source
<?php
namespace Drupal\search_api\Utility;
use Drupal\Core\Entity\DependencyTrait;
/**
* Provides an easy mechanism for building a dependency array.
*/
class Dependencies {
use DependencyTrait {
addDependency as public;
addDependencies as public;
}
/**
* Gets the dependencies as an array as expected by configuration.
*
* @return array
* The dependencies.
*/
public function toArray() : array {
return $this->dependencies;
}
}
Classes
Name | Description |
---|---|
Dependencies | Provides an easy mechanism for building a dependency array. |