You are here

public function Org::isActive in RedHen CRM 8

Returns the Org active status indicator.

Return value

bool TRUE if the Org is active.

Overrides OrgInterface::isActive

File

modules/redhen_org/src/Entity/Org.php, line 118

Class

Org
Defines the Organization entity.

Namespace

Drupal\redhen_org\Entity

Code

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