You are here

public function FieldStorageConfigDeleteForm::getDescription in Field tools 8

Returns additional text to display as a description.

Return value

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

Overrides EntityConfirmFormBase::getDescription

File

src/Form/FieldStorageConfigDeleteForm.php, line 17

Class

FieldStorageConfigDeleteForm
Delete form for field storage config entities.

Namespace

Drupal\field_tools\Form

Code

public function getDescription() {
  return $this
    ->t("This action cannot be undone. ALL the '@field-name' fields on the '@entity-type' entity type will be deleted!", [
    '@field-name' => $this->entity
      ->getName(),
    '@entity-type' => $this->entity
      ->getTargetEntityTypeId(),
  ]);
}