You are here

public function OpignoModule::setName in Opigno module 8

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

Sets the Module name.

Parameters

string $name: The Module name.

Return value

\Drupal\opigno_module\Entity\OpignoModuleInterface The called Module entity.

Overrides OpignoModuleInterface::setName

File

src/Entity/OpignoModule.php, line 116

Class

OpignoModule
Defines the Module entity.

Namespace

Drupal\opigno_module\Entity

Code

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