computed_field-8.x-2.x-dev/modules/computed_field_ui/src/Form/ComputedFieldDeleteForm.php

modules/computed_field_ui/src/Form/ComputedFieldDeleteForm.php
<?php

namespace Drupal\computed_field_ui\Form;

use Drupal\Core\Entity\EntityDeleteForm;
use Drupal\field_ui\FieldUI;

/**
 * Provides the delete form handler for the Computed Field entity.
 */
class ComputedFieldDeleteForm extends EntityDeleteForm {

  /**
   * {@inheritdoc}
   */
  public function getCancelUrl() {
    return FieldUI::getOverviewRouteInfo($this->entity->getTargetEntityTypeId(), $this->entity->getTargetBundle());
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc