You are here

public function EntityExportCsvEnableForm::getDescription in Entity Export CSV 8

Returns additional text to display as a description.

Return value

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

Overrides EntityConfirmFormBase::getDescription

File

src/Form/EntityExportCsvEnableForm.php, line 30

Class

EntityExportCsvEnableForm
Class EntityExportCsvEnableForm.

Namespace

Drupal\entity_export_csv\Form

Code

public function getDescription() {
  return $this
    ->t('Enable @type: %label?', [
    '@type' => $this->entity
      ->getEntityType()
      ->getLabel(),
    '%label' => $this->entity
      ->label(),
  ]);
}