public function DataPolicyInterface::isPublished in Data Policy 8
Returns the Data policy published status indicator.
Unpublished Data policy are only visible to restricted users.
Return value
bool TRUE if the Data policy is published.
1 method overrides DataPolicyInterface::isPublished()
- DataPolicy::isPublished in src/
Entity/ DataPolicy.php - Returns the Data policy published status indicator.
File
- src/
Entity/ DataPolicyInterface.php, line 63
Class
- DataPolicyInterface
- Provides an interface for defining Data policy entities.
Namespace
Drupal\data_policy\EntityCode
public function isPublished();