blockContent = $blockContent; } /** * Gets the block content entity. * * @return \Drupal\block_content\BlockContentInterface * The block content entity. */ public function getBlockContentEntity() { return $this->blockContent; } /** * Gets the access dependency. * * @return \Drupal\Core\Access\AccessibleInterface * The access dependency. */ public function getAccessDependency() { return $this->accessDependency; } /** * Sets the access dependency. * * @param \Drupal\Core\Access\AccessibleInterface $access_dependency * The access dependency. */ public function setAccessDependency(AccessibleInterface $access_dependency) { $this->accessDependency = $access_dependency; } }