You are here

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

Returns the Consent Agreement published status indicator.

Unpublished Consent Agreement are only visible to restricted users.

Return value

bool TRUE if the Consent Agreement is published.

1 method overrides ConsentAgreementInterface::isPublished()
ConsentAgreement::isPublished in modules/gdpr_consent/src/Entity/ConsentAgreement.php
Returns the Consent Agreement published status indicator.

File

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

Class

ConsentAgreementInterface
Provides an interface for defining Consent Agreement entities.

Namespace

Drupal\gdpr_consent\Entity

Code

public function isPublished();