You are here

public function OpignoActivity::getName in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Entity/OpignoActivity.php \Drupal\opigno_module\Entity\OpignoActivity::getName()

Gets the Activity name.

Return value

string Name of the Activity.

Overrides OpignoActivityInterface::getName

File

src/Entity/OpignoActivity.php, line 105

Class

OpignoActivity
Defines the Activity entity.

Namespace

Drupal\opigno_module\Entity

Code

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