public function ContactInterface::setActive in RedHen CRM 8
Sets the active status of a Contact.
Parameters
bool $active: TRUE to set this Contact to active, FALSE to set it to inactive.
Return value
\Drupal\redhen_contact\ContactInterface The called Contact entity.
1 method overrides ContactInterface::setActive()
- Contact::setActive in modules/
redhen_contact/ src/ Entity/ Contact.php - Sets the active status of a Contact.
File
- modules/
redhen_contact/ src/ ContactInterface.php, line 84
Class
- ContactInterface
- Provides an interface for defining Contact entities.
Namespace
Drupal\redhen_contactCode
public function setActive($active);