public function Plan::label in farmOS 2.x
Gets the label of the entity.
Return value
string|null The label of the entity, or NULL if there is no label defined.
Overrides EntityInterface::label
File
- modules/
core/ plan/ src/ Entity/ Plan.php, line 97
Class
- Plan
- Defines the plan entity.
Namespace
Drupal\plan\EntityCode
public function label() {
return $this
->getName();
}