public function OpignoActivity::setName in Opigno module 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoActivity.php \Drupal\opigno_module\Entity\OpignoActivity::setName()
Sets the Activity name.
Parameters
string $name: The Activity name.
Return value
\Drupal\opigno_module\Entity\OpignoActivityInterface The called Activity entity.
Overrides OpignoActivityInterface::setName
File
- src/
Entity/ OpignoActivity.php, line 112
Class
- OpignoActivity
- Defines the Activity entity.
Namespace
Drupal\opigno_module\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}