You are here

public function DeleteForm::getDescription in Optimizely 8.0

Same name and namespace in other branches
  1. 8 src/DeleteForm.php \Drupal\optimizely\DeleteForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides ConfirmFormBase::getDescription

File

src/DeleteForm.php, line 30
Contains \Drupal\optimizely\DeleteForm

Class

DeleteForm
Implements the confirmation form for deleting a project.

Namespace

Drupal\optimizely

Code

public function getDescription() {
  return $this
    ->t('Are you sure you want to delete this configuration?' . '<p>This action cannot be undone.</p>');
}