Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BlockContentGetDependencyEvent.php

function BlockContentGetDependencyEvent::getAccessDependency

Gets the access dependency.

Return value

\Drupal\Core\Access\AccessibleInterface The access dependency.

File

core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php, line 56

Class

BlockContentGetDependencyEvent
Block content event to allow setting an access dependency.

Namespace

Drupal\block_content\Event

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal