public function Profile::setDescription in Linkit 8.4
Same name and namespace in other branches
- 8.5 src/Entity/Profile.php \Drupal\linkit\Entity\Profile::setDescription()
Sets the profile description.
Parameters
string $description: The profile description.
Return value
$this
Overrides ProfileInterface::setDescription
File
- src/
Entity/ Profile.php, line 128 - Contains \Drupal\linkit\Entity\Profile.
Class
- Profile
- Defines the linkit profile entity.
Namespace
Drupal\linkit\EntityCode
public function setDescription($description) {
$this
->set('description', trim($description));
return $this;
}