function ConfigurableActionBase::calculateDependencies

Same name in other branches
  1. 9 core/lib/Drupal/Core/Action/ConfigurableActionBase.php \Drupal\Core\Action\ConfigurableActionBase::calculateDependencies()
  2. 8.9.x core/lib/Drupal/Core/Action/ConfigurableActionBase.php \Drupal\Core\Action\ConfigurableActionBase::calculateDependencies()
  3. 10 core/lib/Drupal/Core/Action/ConfigurableActionBase.php \Drupal\Core\Action\ConfigurableActionBase::calculateDependencies()

Overrides DependentPluginInterface::calculateDependencies

1 method overrides ConfigurableActionBase::calculateDependencies()
ChangeUserRoleBase::calculateDependencies in core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php
Calculates dependencies for the configured plugin.

File

core/lib/Drupal/Core/Action/ConfigurableActionBase.php, line 54

Class

ConfigurableActionBase
Provides a base implementation for a configurable Action plugin.

Namespace

Drupal\Core\Action

Code

public function calculateDependencies() {
    return [];
}

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