You are here

public function LogRescheduleActionForm::getQuestion in Log entity 2.x

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 LogActionFormBase::getQuestion

File

src/Form/LogRescheduleActionForm.php, line 30

Class

LogRescheduleActionForm
Provides a log reschedule confirmation form.

Namespace

Drupal\log\Form

Code

public function getQuestion() {
  return $this
    ->formatPlural(count($this->logs), 'Are you sure you want to reschedule this log?', 'Are you sure you want to reschedule these logs?');
}