You are here

public function FillPdfAccessHelperInterface::canGeneratePdfFromContext in FillPDF 8.4

Same name and namespace in other branches
  1. 5.0.x src/FillPdfAccessHelperInterface.php \Drupal\fillpdf\FillPdfAccessHelperInterface::canGeneratePdfFromContext()

This is the main access checking function of this class.

Method self::canGeneratePdfFromLinkUrl() should delegate to this one.

Parameters

array $context: As returned by FillPdfLinkManipulator's parse functions.

\Drupal\Core\Session\AccountInterface $account: The user whose access is being checked.

Return value

\Drupal\Core\Access\AccessResultInterface The access results.

See also

\Drupal\fillpdf\FillPdfAccessHelperInterface::canGeneratePdfFromLink()

1 method overrides FillPdfAccessHelperInterface::canGeneratePdfFromContext()
FillPdfAccessHelper::canGeneratePdfFromContext in src/FillPdfAccessHelper.php
This is the main access checking function of this class.

File

src/FillPdfAccessHelperInterface.php, line 66

Class

FillPdfAccessHelperInterface
Interface FillPdfAccessHelperInterface.

Namespace

Drupal\fillpdf

Code

public function canGeneratePdfFromContext(array $context, AccountInterface $account);