You are here

public function RelationType::setDescription in Relation 8.2

Sets the entity description.

Parameters

string $description: The entity description.

Return value

$this

Overrides EntityDescriptionInterface::setDescription

File

src/Entity/RelationType.php, line 166

Class

RelationType
Defines relation type entity.

Namespace

Drupal\relation\Entity

Code

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