You are here

public function ConsentAgreementInterface::setPublished 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::setPublished()
  2. 3.0.x modules/gdpr_consent/src/Entity/ConsentAgreementInterface.php \Drupal\gdpr_consent\Entity\ConsentAgreementInterface::setPublished()

Sets the published status of a Consent Agreement.

Parameters

bool $published: TRUE to set this Consent Agreement to published, FALSE to unpublished.

Return value

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

1 method overrides ConsentAgreementInterface::setPublished()
ConsentAgreement::setPublished in modules/gdpr_consent/src/Entity/ConsentAgreement.php
Sets the published status of a Consent Agreement.

File

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

Class

ConsentAgreementInterface
Provides an interface for defining Consent Agreement entities.

Namespace

Drupal\gdpr_consent\Entity

Code

public function setPublished($published);