class RightToAccessCompleteEvent in General Data Protection Regulation 3.0.x
Same name and namespace in other branches
- 8.2 modules/gdpr_tasks/src/Event/RightToAccessCompleteEvent.php \Drupal\gdpr_tasks\Event\RightToAccessCompleteEvent
- 8 modules/gdpr_tasks/src/Event/RightToAccessCompleteEvent.php \Drupal\gdpr_tasks\Event\RightToAccessCompleteEvent
Event fired when a right to access request is completed.
@package Drupal\gdpr_tasks\Event
Hierarchy
- class \Drupal\gdpr_tasks\Event\RightToAccessCompleteEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of RightToAccessCompleteEvent
File
- modules/
gdpr_tasks/ src/ Event/ RightToAccessCompleteEvent.php, line 13
Namespace
Drupal\gdpr_tasks\EventView source
class RightToAccessCompleteEvent extends Event {
const EVENT_NAME = 'gdpr_tasks.rules_rta_complete';
/**
* The user who for whom the request was made.
*
* @var \Drupal\Core\Session\AccountInterface
*/
public $user;
/**
* The link to the data export.
*
* @var string
*/
public $link;
/**
* Constructs the object.
*
* @param \Drupal\Core\Session\AccountInterface $user
* The user.
* @param string $link
* The link to the download.
*/
public function __construct(AccountInterface $user, $link) {
$this->user = $user;
$this->link = $link;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RightToAccessCompleteEvent:: |
public | property | The link to the data export. | |
RightToAccessCompleteEvent:: |
public | property | The user who for whom the request was made. | |
RightToAccessCompleteEvent:: |
constant | |||
RightToAccessCompleteEvent:: |
public | function | Constructs the object. |