public function IndexBreakLockForm::getQuestion in Search API 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
- src/
Form/ IndexBreakLockForm.php, line 87
Class
- IndexBreakLockForm
- Builds the form to break the lock of an edited search index.
Namespace
Drupal\search_api\FormCode
public function getQuestion() {
return $this
->t('Do you want to break the lock on search index %name?', [
'%name' => $this->entity
->id(),
]);
}