interface GdprConsentUserResolverInterface in General Data Protection Regulation 8
Same name and namespace in other branches
- 8.2 modules/gdpr_consent/src/ConsentUserResolver/GdprConsentUserResolverInterface.php \Drupal\gdpr_consent\ConsentUserResolver\GdprConsentUserResolverInterface
- 3.0.x modules/gdpr_consent/src/ConsentUserResolver/GdprConsentUserResolverInterface.php \Drupal\gdpr_consent\ConsentUserResolver\GdprConsentUserResolverInterface
Interface GdprConsentUserResolverInterface.
Hierarchy
- interface \Drupal\gdpr_consent\ConsentUserResolver\GdprConsentUserResolverInterface
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\ConsentUserResolverView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GdprConsentUserResolverInterface:: |
public | function | Gets the user reference from the specified entity. | 3 |