function DependentAccessInterface::getAccessDependency

Same name in other branches
  1. 8.9.x core/modules/block_content/src/Access/DependentAccessInterface.php \Drupal\block_content\Access\DependentAccessInterface::getAccessDependency()
  2. 10 core/modules/block_content/src/Access/DependentAccessInterface.php \Drupal\block_content\Access\DependentAccessInterface::getAccessDependency()
  3. 11.x core/modules/block_content/src/Access/DependentAccessInterface.php \Drupal\block_content\Access\DependentAccessInterface::getAccessDependency()

Gets the access dependency.

Return value

\Drupal\Core\Access\AccessibleInterface|null The access dependency or NULL if none has been set.

File

core/modules/block_content/src/Access/DependentAccessInterface.php, line 33

Class

DependentAccessInterface
Interface for AccessibleInterface objects that have an access dependency.

Namespace

Drupal\block_content\Access

Code

public function getAccessDependency();

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