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