public function SplashifyEntity::isPublished in Splashify 8.2
Returns the Splashify entity published status indicator.
Unpublished Splashify entity are only visible to restricted users.
Return value
bool TRUE if the Splashify entity is published.
Overrides SplashifyEntityInterface::isPublished
File
- src/
Entity/ SplashifyEntity.php, line 132
Class
- SplashifyEntity
- Defines the Splashify entity entity.
Namespace
Drupal\splashify\EntityCode
public function isPublished() {
return (bool) $this
->getEntityKey('status');
}