You are here

public function UserModuleStatus::setName in Opigno module 8

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

Sets the User module status name.

Parameters

string $name: The User module status name.

Return value

\Drupal\opigno_module\Entity\UserModuleStatusInterface The called User module status entity.

Overrides UserModuleStatusInterface::setName

File

src/Entity/UserModuleStatus.php, line 78

Class

UserModuleStatus
Defines the User module status entity.

Namespace

Drupal\opigno_module\Entity

Code

public function setName($name) {
  $this
    ->set('name', $name);
  return $this;
}