GdprConsentUserResolverInterface.php in General Data Protection Regulation 8.2
Same filename and directory in other branches
Namespace
Drupal\gdpr_consent\ConsentUserResolverFile
modules/gdpr_consent/src/ConsentUserResolver/GdprConsentUserResolverInterface.phpView source
<?php
namespace Drupal\gdpr_consent\ConsentUserResolver;
use Drupal\Core\Entity\EntityInterface;
/**
* Interface GdprConsentUserResolverInterface.
*/
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);
}
Interfaces
Name | Description |
---|---|
GdprConsentUserResolverInterface | Interface GdprConsentUserResolverInterface. |