f7d88046114840876def3617a55263445e7a61fc
[yaffs-website] / Form / EntityDisplayModeDeleteForm.php
1 <?php
2
3 namespace Drupal\field_ui\Form;
4
5 use Drupal\Core\Entity\EntityDeleteForm;
6
7 /**
8  * Provides the delete form for entity display modes.
9  */
10 class EntityDisplayModeDeleteForm extends EntityDeleteForm {
11
12   /**
13    * {@inheritdoc}
14    */
15   public function getDescription() {
16     $entity_type = $this->entity->getEntityType();
17     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->getLowercaseLabel()]);
18   }
19
20 }