You are here

public function Organization::getName in Drupal PM (Project Management) 4.x

Gets the Organization name.

Return value

string Name of the Organization.

Overrides OrganizationInterface::getName

File

modules/pm_organization/src/Entity/Organization.php, line 120

Class

Organization
Defines the Organization entity.

Namespace

Drupal\pm_organization\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}