You are here

public function NodeOptionPremiumHelperInterface::hasFullAccess in Node Option Premium 8

Checks if the given user has full access to the given entity.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: The entity to check for premium access.

\Drupal\Core\Session\AccountInterface $account: The operating account.

1 method overrides NodeOptionPremiumHelperInterface::hasFullAccess()
NodeOptionPremiumHelper::hasFullAccess in src/NodeOptionPremiumHelper.php
Checks if the given user has full access to the given entity.

File

src/NodeOptionPremiumHelperInterface.php, line 21

Class

NodeOptionPremiumHelperInterface
Interface for API and helper methods.

Namespace

Drupal\nopremium

Code

public function hasFullAccess(ContentEntityInterface $entity, AccountInterface $account);