You are here

public function UserConsentInterface::isPublished in Data Policy 8

Returns the User consent published status indicator.

Unpublished User consent are only visible to restricted users.

Return value

bool TRUE if the User consent is published.

1 method overrides UserConsentInterface::isPublished()
UserConsent::isPublished in src/Entity/UserConsent.php
Returns the User consent published status indicator.

File

src/Entity/UserConsentInterface.php, line 77

Class

UserConsentInterface
Provides an interface for defining User consent entities.

Namespace

Drupal\data_policy\Entity

Code

public function isPublished();