You are here

public function UserConsentInterface::setCreatedTime in Data Policy 8

Sets the User consent creation timestamp.

Parameters

int $timestamp: The User consent creation timestamp.

Return value

\Drupal\data_policy\Entity\UserConsentInterface The called User consent entity.

1 method overrides UserConsentInterface::setCreatedTime()
UserConsent::setCreatedTime in src/Entity/UserConsent.php
Sets the User consent creation timestamp.

File

src/Entity/UserConsentInterface.php, line 67

Class

UserConsentInterface
Provides an interface for defining User consent entities.

Namespace

Drupal\data_policy\Entity

Code

public function setCreatedTime($timestamp);