You are here

public function UserConsentInterface::setRevision in Data Policy 8

Sets the Data policy revision author.

Parameters

\Drupal\data_policy\Entity\DataPolicyInterface $data_policy: The data policy entity object.

Return value

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

1 method overrides UserConsentInterface::setRevision()
UserConsent::setRevision in src/Entity/UserConsent.php
Sets the Data policy revision author.

File

src/Entity/UserConsentInterface.php, line 100

Class

UserConsentInterface
Provides an interface for defining User consent entities.

Namespace

Drupal\data_policy\Entity

Code

public function setRevision(DataPolicyInterface $data_policy);