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\EntityCode
public function setDescription($description) {
$this->description = $description;
return $this;
}