function NavigationMenuBlock::calculateDependencies

Same name in other branches
  1. 10 core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php \Drupal\navigation\Plugin\Block\NavigationMenuBlock::calculateDependencies()

Overrides BlockPluginTrait::calculateDependencies

File

core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php, line 102

Class

NavigationMenuBlock
Provides a generic menu navigation block.

Namespace

Drupal\navigation\Plugin\Block

Code

public function calculateDependencies() {
    return [
        'module' => [
            'system',
        ],
    ];
}

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