You are here

public function ApiDoc::setDescription in Apigee API Catalog 8.2

Same name and namespace in other branches
  1. 8 src/Entity/ApiDoc.php \Drupal\apigee_api_catalog\Entity\ApiDoc::setDescription()

Sets the description.

Parameters

string $description: Description of the API Doc.

Return value

\Drupal\apigee_api_catalog\Entity\ApiDocInterface The API Doc entity.

Overrides ApiDocInterface::setDescription

File

src/Entity/ApiDoc.php, line 117

Class

ApiDoc
Defines the API Doc entity.

Namespace

Drupal\apigee_api_catalog\Entity

Code

public function setDescription(string $description) : ApiDocInterface {
  $this
    ->set('description', $description);
  return $this;
}