You are here

public function WebformImageSelectImagesDeleteForm::getDescription in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_image_select/src/WebformImageSelectImagesDeleteForm.php \Drupal\webform_image_select\WebformImageSelectImagesDeleteForm::getDescription()

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides WebformConfigEntityDeleteFormBase::getDescription

File

modules/webform_image_select/src/WebformImageSelectImagesDeleteForm.php, line 15

Class

WebformImageSelectImagesDeleteForm
Provides a delete webform images select images form.

Namespace

Drupal\webform_image_select

Code

public function getDescription() {
  return [
    'title' => [
      '#markup' => $this
        ->t('This action will…'),
    ],
    'list' => [
      '#theme' => 'item_list',
      '#items' => [
        $this
          ->t('Remove configuration'),
        $this
          ->t('Affect any elements which use these images'),
      ],
    ],
  ];
}