function BlockDeleteForm::getDescription
Same name in other branches
- 10 core/modules/block/src/Form/BlockDeleteForm.php \Drupal\block\Form\BlockDeleteForm::getDescription()
- 11.x core/modules/block/src/Form/BlockDeleteForm.php \Drupal\block\Form\BlockDeleteForm::getDescription()
Overrides EntityConfirmFormBase::getDescription
File
-
core/
modules/ block/ src/ Form/ BlockDeleteForm.php, line 45
Class
- BlockDeleteForm
- Provides a deletion confirmation form for the block instance deletion form.
Namespace
Drupal\block\FormCode
public function getDescription() {
return $this->t('This will remove the block placement. You will need to <a href=":url">place it again</a> in order to undo this action.', [
':url' => Url::fromRoute('block.admin_display_theme', [
'theme' => $this->getEntity()
->getTheme(),
])
->toString(),
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.