You are here

public function Contact::getType in RedHen CRM 8

Gets the Contact type.

Return value

string The Contact type.

Overrides ContactInterface::getType

File

modules/redhen_contact/src/Entity/Contact.php, line 79

Class

Contact
Defines the Contact entity.

Namespace

Drupal\redhen_contact\Entity

Code

public function getType() {
  return $this
    ->bundle();
}