You are here

public function ApiDocController::title in Apigee API Catalog 8

Returns the title of this form.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The translated title.

Throws

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

src/Controller/ApiDocController.php, line 66

Class

ApiDocController
Generic controller for the apidoc entity.

Namespace

Drupal\apigee_api_catalog\Controller

Code

public function title() {
  return $this
    ->t('@label settings', [
    '@label' => $this->entityTypeManager
      ->getDefinition('apidoc')
      ->getLabel(),
  ]);
}