public function SlickDeleteFormBase::getQuestion in Slick Carousel 8.2
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
- slick_ui/
src/ Form/ SlickDeleteFormBase.php, line 30
Class
- SlickDeleteFormBase
- Builds the form to delete a Slick optionset.
Namespace
Drupal\slick_ui\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the %name optionset %label?', [
'%name' => static::$niceName,
'%label' => $this->entity
->label(),
]);
}