public function EntityExportCsvEnableForm::getQuestion in Entity Export CSV 8
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides ConfirmFormInterface::getQuestion
File
- src/
Form/ EntityExportCsvEnableForm.php, line 20
Class
- EntityExportCsvEnableForm
- Class EntityExportCsvEnableForm.
Namespace
Drupal\entity_export_csv\FormCode
public function getQuestion() {
return $this
->t('Enable @type: %label?', [
'@type' => $this->entity
->getEntityType()
->getLabel(),
'%label' => $this->entity
->label(),
]);
}