You are here

public function ApiDoc::setDescription in Apigee API Catalog 8

Same name and namespace in other branches
  1. 8.2 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 121

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;
}