function 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/lib/Drupal/Core/Access/DependentAccessInterface.php, line 33

Class

DependentAccessInterface
Interface for AccessibleInterface objects that have an access dependency.

Namespace

Drupal\Core\Access

Code

public function getAccessDependency();

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