You are here

public function Org::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_org/src/Entity/Org.php, line 71

Class

Org
Defines the Organization entity.

Namespace

Drupal\redhen_org\Entity

Code

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