function BlockPluginTrait::calculateDependencies

Same name in other branches
  1. 9 core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::calculateDependencies()
  2. 8.9.x core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::calculateDependencies()
  3. 11.x core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::calculateDependencies()
1 method overrides BlockPluginTrait::calculateDependencies()
NavigationMenuBlock::calculateDependencies in core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php

File

core/lib/Drupal/Core/Block/BlockPluginTrait.php, line 119

Class

BlockPluginTrait
Provides the base implementation of a block plugin.

Namespace

Drupal\Core\Block

Code

public function calculateDependencies() {
    return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.