You are here

public function GroupContentType::setDescription in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/GroupContentType.php \Drupal\group\Entity\GroupContentType::setDescription()

Sets the entity description.

Parameters

string $description: The entity description.

Return value

$this

Overrides EntityDescriptionInterface::setDescription

File

src/Entity/GroupContentType.php, line 118

Class

GroupContentType
Defines the Group content type configuration entity.

Namespace

Drupal\group\Entity

Code

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