function RefinableDependentAccessTrait::getAccessDependency

Same name in other branches
  1. 9 core/modules/block_content/src/Access/RefinableDependentAccessTrait.php \Drupal\block_content\Access\RefinableDependentAccessTrait::getAccessDependency()
  2. 8.9.x core/modules/block_content/src/Access/RefinableDependentAccessTrait.php \Drupal\block_content\Access\RefinableDependentAccessTrait::getAccessDependency()
  3. 10 core/modules/block_content/src/Access/RefinableDependentAccessTrait.php \Drupal\block_content\Access\RefinableDependentAccessTrait::getAccessDependency()
1 call to RefinableDependentAccessTrait::getAccessDependency()
InlineBlock::getEntity in core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
Loads or creates the block content entity of the block.

File

core/modules/block_content/src/Access/RefinableDependentAccessTrait.php, line 32

Class

RefinableDependentAccessTrait
Trait for \Drupal\block_content\Access\RefinableDependentAccessInterface.

Namespace

Drupal\block_content\Access

Code

public function getAccessDependency() {
    return $this->accessDependency;
}

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