You are here

public function UserModuleStatus::getName in Opigno module 8

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

Gets the User module status name.

Return value

string Name of the User module status.

Overrides UserModuleStatusInterface::getName

File

src/Entity/UserModuleStatus.php, line 71

Class

UserModuleStatus
Defines the User module status entity.

Namespace

Drupal\opigno_module\Entity

Code

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