public function Server::calculateDependencies in Search API 8
Calculates dependencies and stores them in the dependency property.
Return value
$this
Overrides ConfigEntityBase::calculateDependencies
See also
\Drupal\Core\Config\Entity\ConfigDependencyManager
File
- src/Entity/ Server.php, line 572 
Class
- Server
- Defines the search server configuration entity.
Namespace
Drupal\search_api\EntityCode
public function calculateDependencies() {
  parent::calculateDependencies();
  // Add the backend's dependencies.
  if ($this
    ->hasValidBackend()) {
    $this
      ->calculatePluginDependencies($this
      ->getBackend());
  }
  return $this;
}