Pull merge.
[yaffs-website] / web / core / modules / field_ui / src / 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  * @internal
11  */
12 class EntityDisplayModeDeleteForm extends EntityDeleteForm {
13
14   /**
15    * {@inheritdoc}
16    */
17   public function getDescription() {
18     $entity_type = $this->entity->getEntityType();
19     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()]);
20   }
21
22 }