public function ConfigEntityDescriptionTrait::setDescription in Lightning Core 8.4
Same name and namespace in other branches
- 8.5 src/ConfigEntityDescriptionTrait.php \Drupal\lightning_core\ConfigEntityDescriptionTrait::setDescription()
- 8 src/ConfigEntityDescriptionTrait.php \Drupal\lightning_core\ConfigEntityDescriptionTrait::setDescription()
- 8.2 src/ConfigEntityDescriptionTrait.php \Drupal\lightning_core\ConfigEntityDescriptionTrait::setDescription()
- 8.3 src/ConfigEntityDescriptionTrait.php \Drupal\lightning_core\ConfigEntityDescriptionTrait::setDescription()
Implements EntityDescriptionInterface::getDescription().
File
- src/
ConfigEntityDescriptionTrait.php, line 20
Class
- ConfigEntityDescriptionTrait
- Provides a third-party settings implementation of EntityDescriptionInterface.
Namespace
Drupal\lightning_coreCode
public function setDescription($description) {
return $this
->setThirdPartySetting('lightning_core', 'description', (string) $description);
}