You are here

public function CronJobEnableForm::getQuestion in Ultimate Cron 8.2

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/CronJobEnableForm.php, line 14

Class

CronJobEnableForm

Namespace

Drupal\ultimate_cron\Form

Code

public function getQuestion() {
  return $this
    ->t('Do you really want to enable @cronjob_id cron job?', array(
    '@cronjob_id' => $this
      ->getEntity()
      ->label(),
  ));
}