You are here

public function ConsentAgreementInterface::setCreatedTime in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/gdpr_consent/src/Entity/ConsentAgreementInterface.php \Drupal\gdpr_consent\Entity\ConsentAgreementInterface::setCreatedTime()
  2. 3.0.x modules/gdpr_consent/src/Entity/ConsentAgreementInterface.php \Drupal\gdpr_consent\Entity\ConsentAgreementInterface::setCreatedTime()

Sets the Consent Agreement creation timestamp.

Parameters

int $timestamp: The Consent Agreement creation timestamp.

Return value

\Drupal\gdpr_consent\Entity\ConsentAgreementInterface The called Consent Agreement entity.

1 method overrides ConsentAgreementInterface::setCreatedTime()
ConsentAgreement::setCreatedTime in modules/gdpr_consent/src/Entity/ConsentAgreement.php
Sets the Consent Agreement creation timestamp.

File

modules/gdpr_consent/src/Entity/ConsentAgreementInterface.php, line 53

Class

ConsentAgreementInterface
Provides an interface for defining Consent Agreement entities.

Namespace

Drupal\gdpr_consent\Entity

Code

public function setCreatedTime($timestamp);