public ImageStyleDeleteForm::getDescription()
Returns additional text to display as a description.
Return value
string The form description.
Overrides EntityConfirmFormBase::getDescription
File
- core/modules/image/src/Form/ImageStyleDeleteForm.php, line 29
Class
- ImageStyleDeleteForm
- Creates a form to delete an image style.
Namespace
Drupal\image\Form
Code
public function getDescription() { if (count($this->getReplacementOptions()) > 1) { return $this->t('If this style is in use on the site, you may select another style to replace it. All images that have been generated for this style will be permanently deleted. If no replacement style is selected, the dependent configurations might need manual reconfiguration.'); } return $this->t('All images that have been generated for this style will be permanently deleted. The dependent configurations might need manual reconfiguration.'); }
Please login to continue.