You are here

public function LogCloneActionForm::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/LogCloneActionForm.php, line 29

Class

LogCloneActionForm
Provides a log clone confirmation form.

Namespace

Drupal\log\Form

Code

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