You are here

public function Invite::isPublished in Invite 8

File

src/Entity/Invite.php, line 210

Class

Invite
Defines the Invite entity.

Namespace

Drupal\invite\Entity

Code

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