public function ContentTypeRevisionsDeleteForm::getDescription in Node Revision Delete 8
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides ConfirmFormBase::getDescription
File
- src/
Form/ ContentTypeRevisionsDeleteForm.php, line 82
Class
- ContentTypeRevisionsDeleteForm
- Provides a content type revision deletion confirmation form.
Namespace
Drupal\node_revision_delete\FormCode
public function getDescription() {
$description = '<p>' . $this
->t('This action will delete the candidate revisions for the "@content_type" content type.', [
'@content_type' => $this->contentType
->label(),
]) . '</p>';
$description .= '<p>' . parent::getDescription() . '</p>';
return $description;
}