public function LogAssignActionForm::getQuestion in farmOS 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 ConfirmFormInterface::getQuestion
File
- modules/
core/ owner/ src/ Form/ LogAssignActionForm.php, line 103
Class
- LogAssignActionForm
- Provides a log assign confirmation form.
Namespace
Drupal\farm_owner\FormCode
public function getQuestion() {
return $this
->formatPlural(count($this->entities), 'Are you sure you want to update assignment of this @item?', 'Are you sure you want to update assignment of these @items?', [
'@item' => $this->entityType
->getSingularLabel(),
'@items' => $this->entityType
->getPluralLabel(),
]);
}