You are here

public function ReferenceType::setDescription in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x 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\Entity

Code

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