You are here

public function ApiDoc::getDescription 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::getDescription()

Gets the description.

Return value

null|string The API Doc description.

Overrides ApiDocInterface::getDescription

File

src/Entity/ApiDoc.php, line 114

Class

ApiDoc
Defines the API Doc entity.

Namespace

Drupal\apigee_api_catalog\Entity

Code

public function getDescription() : string {
  return $this
    ->get('description')->value;
}