You are here

interface GdprConsentUserResolverInterface in General Data Protection Regulation 8.2

Same name and namespace in other branches
  1. 8 modules/gdpr_consent/src/ConsentUserResolver/GdprConsentUserResolverInterface.php \Drupal\gdpr_consent\ConsentUserResolver\GdprConsentUserResolverInterface
  2. 3.0.x modules/gdpr_consent/src/ConsentUserResolver/GdprConsentUserResolverInterface.php \Drupal\gdpr_consent\ConsentUserResolver\GdprConsentUserResolverInterface

Interface GdprConsentUserResolverInterface.

Hierarchy

Expanded class hierarchy of GdprConsentUserResolverInterface

All classes that implement GdprConsentUserResolverInterface

3 files declare their use of GdprConsentUserResolverInterface
NodeResolver.php in modules/gdpr_consent/src/Plugin/Gdpr/ConsentUserResolver/NodeResolver.php
ProfileResolver.php in modules/gdpr_consent/src/Plugin/Gdpr/ConsentUserResolver/ProfileResolver.php
UserResolver.php in modules/gdpr_consent/src/Plugin/Gdpr/ConsentUserResolver/UserResolver.php

File

modules/gdpr_consent/src/ConsentUserResolver/GdprConsentUserResolverInterface.php, line 10

Namespace

Drupal\gdpr_consent\ConsentUserResolver
View source
interface GdprConsentUserResolverInterface {

  /**
   * Gets the user reference from the specified entity.
   *
   * @param \Drupal\Core\Entity\EntityInterface $entity
   *   The entity to use when finding the user.
   *
   * @return \Drupal\user\Entity\User
   *   The user
   */
  public function resolve(EntityInterface $entity);

}

Members

Namesort descending Modifiers Type Description Overrides
GdprConsentUserResolverInterface::resolve public function Gets the user reference from the specified entity. 3