You are here

public function TeamDeleteForm::getDescription in Apigee Edge 8

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides EntityConfirmFormBase::getDescription

File

modules/apigee_edge_teams/src/Entity/Form/TeamDeleteForm.php, line 53

Class

TeamDeleteForm
General form handler for the team delete forms.

Namespace

Drupal\apigee_edge_teams\Entity\Form

Code

public function getDescription() {
  $original = parent::getDescription();
  return $this
    ->t('<strong>All apps, credentials and @team membership information will be deleted.</strong> @original', [
    '@original' => $original,
    '@team' => mb_strtolower($this->entityTypeManager
      ->getDefinition($this->entity
      ->getEntityTypeId())
      ->getSingularLabel()),
  ]);
}