You are here

public function ContentExportMultiple::getQuestion in Content Synchronization 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Form/ContentExportMultiple.php \Drupal\content_sync\Form\ContentExportMultiple::getQuestion()

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/ContentExportMultiple.php, line 94

Class

ContentExportMultiple
Class ContentExportMultiple

Namespace

Drupal\content_sync\Form

Code

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