interface NodeOptionPremiumHelperInterface in Node Option Premium 8
Interface for API and helper methods.
Hierarchy
- interface \Drupal\nopremium\NodeOptionPremiumHelperInterface
Expanded class hierarchy of NodeOptionPremiumHelperInterface
All classes that implement NodeOptionPremiumHelperInterface
File
- src/
NodeOptionPremiumHelperInterface.php, line 11
Namespace
Drupal\nopremiumView source
interface NodeOptionPremiumHelperInterface {
/**
* Checks if the given user has full access to the given entity.
*
* @param \Drupal\Core\Entity\ContentEntityInterface $entity
* The entity to check for premium access.
* @param \Drupal\Core\Session\AccountInterface $account
* The operating account.
*/
public function hasFullAccess(ContentEntityInterface $entity, AccountInterface $account);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NodeOptionPremiumHelperInterface:: |
public | function | Checks if the given user has full access to the given entity. | 1 |