class UserResolver in General Data Protection Regulation 8.2
Same name and namespace in other branches
- 8 modules/gdpr_consent/src/Plugin/Gdpr/ConsentUserResolver/UserResolver.php \Drupal\gdpr_consent\Plugin\Gdpr\ConsentUserResolver\UserResolver
- 3.0.x modules/gdpr_consent/src/Plugin/Gdpr/ConsentUserResolver/UserResolver.php \Drupal\gdpr_consent\Plugin\Gdpr\ConsentUserResolver\UserResolver
Resolves user reference for a Profile entity.
@GdprConsentUserResolver( id = "gdpr_consent_user_resolver", label = "GDPR Consent User Resolver", entityType = "user" ) @package Drupal\gdpr_consent\Plugin\Gdpr\ConsentUserResolver
Hierarchy
- class \Drupal\gdpr_consent\Plugin\Gdpr\ConsentUserResolver\UserResolver implements GdprConsentUserResolverInterface
Expanded class hierarchy of UserResolver
File
- modules/
gdpr_consent/ src/ Plugin/ Gdpr/ ConsentUserResolver/ UserResolver.php, line 18
Namespace
Drupal\gdpr_consent\Plugin\Gdpr\ConsentUserResolverView source
class UserResolver implements GdprConsentUserResolverInterface {
/**
* {@inheritdoc}
*/
public function resolve(EntityInterface $entity) {
return $entity;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UserResolver:: |
public | function |
Gets the user reference from the specified entity. Overrides GdprConsentUserResolverInterface:: |