"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php" (26 Nov 2020, 551 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "EntityDisplayModeDeleteForm.php" see the Fossies "Dox" file reference documentation.

    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->getSingularLabel()]);
   20   }
   21 
   22 }