public function ContentTypeConfigurationDeleteForm::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/ ContentTypeConfigurationDeleteForm.php, line 82
Class
- ContentTypeConfigurationDeleteForm
- Provides a content type configuration deletion confirmation form.
Namespace
Drupal\node_revision_delete\FormCode
public function getDescription() {
$description = '<p>' . $this
->t('This action will delete the Node Revision Delete configuration for the "@content_type" content type, if this action take place the content type will not be available for revision deletion.', [
'@content_type' => $this->contentType
->label(),
]) . '</p>';
$description .= '<p>' . parent::getDescription() . '</p>';
return $description;
}