You are here

public function CacheflushDeleteMultiple::getQuestion in CacheFlush 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

modules/cacheflush_ui/src/Form/CacheflushDeleteMultiple.php, line 96

Class

CacheflushDeleteMultiple
Provides a cacheflush deletion confirmation form.

Namespace

Drupal\cacheflush_ui\Form

Code

public function getQuestion() {
  return $this
    ->formatPlural(count($this->cacheflushInfo), 'Are you sure you want to delete this item?', 'Are you sure you want to delete these items?');
}