public function OpignoActivityType::setDescription in Opigno module 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoActivityType.php \Drupal\opigno_module\Entity\OpignoActivityType::setDescription()
Sets the Activity type description.
Parameters
string $description: The Activity type description.
Return value
\Drupal\opigno_module\Entity\OpignoActivityType The called Activity type entity.
Overrides OpignoActivityTypeInterface::setDescription
File
- src/
Entity/ OpignoActivityType.php, line 96
Class
- OpignoActivityType
- Defines the Activity type entity.
Namespace
Drupal\opigno_module\EntityCode
public function setDescription($description) {
$this->description = $description;
return $this;
}