You are here

public function Plan::getName in farmOS 2.x

Gets the plan name.

Return value

string The plan name.

Overrides PlanInterface::getName

1 call to Plan::getName()
Plan::label in modules/core/plan/src/Entity/Plan.php
Gets the label of the entity.

File

modules/core/plan/src/Entity/Plan.php, line 104

Class

Plan
Defines the plan entity.

Namespace

Drupal\plan\Entity

Code

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