public function ReferenceType::setDescription in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_entity/src/Entity/ReferenceType.php \Drupal\bibcite_entity\Entity\ReferenceType::setDescription()
Set description.
Parameters
string $desc: String of description.
Return value
\Drupal\bibcite_entity\Entity\ReferenceTypeInterface Callable entity object.
Overrides ReferenceTypeInterface::setDescription
File
- modules/
bibcite_entity/ src/ Entity/ ReferenceType.php, line 102
Class
- ReferenceType
- Defines the Reference type entity.
Namespace
Drupal\bibcite_entity\EntityCode
public function setDescription($desc) {
$this->description = $desc;
return $this;
}