EntityDisplayModeDeleteForm.php in Drupal 10
File
core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php
View source
<?php
namespace Drupal\field_ui\Form;
use Drupal\Core\Entity\EntityDeleteForm;
class EntityDisplayModeDeleteForm extends EntityDeleteForm {
public function getDescription() {
$entity_type = $this->entity
->getEntityType();
return $this
->t('Deleting a @entity-type will cause any output still requesting to use that @entity-type to use the default display settings.', [
'@entity-type' => $entity_type
->getSingularLabel(),
]);
}
}