You are here

public function SplashifyGroupEntity::isPublished in Splashify 8.2

Returns the Splashify group entity published status indicator.

Unpublished Splashify group entity are only visible to restricted users.

Return value

bool TRUE if the Splashify group entity is published.

Overrides SplashifyGroupEntityInterface::isPublished

File

src/Entity/SplashifyGroupEntity.php, line 132

Class

SplashifyGroupEntity
Defines the Splashify group entity entity.

Namespace

Drupal\splashify\Entity

Code

public function isPublished() {
  return (bool) $this
    ->getEntityKey('status');
}