public function EntityExportCsvDisableForm::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/ EntityExportCsvDisableForm.php, line 30
Class
- EntityExportCsvDisableForm
- Class EntityExportCsvDisableForm.
Namespace
Drupal\entity_export_csv\FormCode
public function getDescription() {
return $this
->t('Disable @type: %label?', [
'@type' => $this->entity
->getEntityType()
->getLabel(),
'%label' => $this->entity
->label(),
]);
}