You are here

public function Contact::label in RedHen CRM 8

Gets the label of the entity.

Return value

string|null The label of the entity, or NULL if there is no label defined.

Overrides ContentEntityBase::label

File

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

Class

Contact
Defines the Contact entity.

Namespace

Drupal\redhen_contact\Entity

Code

public function label() {
  return $this
    ->getFullName();
}