You are here

public function DependentAccessInterface::getAccessDependency in Drupal 8

Same name and namespace in other branches
  1. 9 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()

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();