public function Connection::isActive in RedHen CRM 8
Returns the Connection active status indicator.
Return value
bool TRUE if the Connection is active.
Overrides ConnectionInterface::isActive
File
- modules/
redhen_connection/ src/ Entity/ Connection.php, line 106
Class
- Connection
- Defines the Connection entity.
Namespace
Drupal\redhen_connection\EntityCode
public function isActive() {
return (bool) $this
->getEntityKey('status');
}