You are here

public function OpignoActivityType::setDescription in Opigno module 3.x

Same name and namespace in other branches
  1. 8 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\Entity

Code

public function setDescription($description) {
  $this->description = $description;
  return $this;
}