l10n_server-2.x-dev/l10n_packager/src/Routing/L10nPackagerFileHtmlRouteProvider.php

l10n_packager/src/Routing/L10nPackagerFileHtmlRouteProvider.php
<?php

declare(strict_types=1);

namespace Drupal\l10n_packager\Routing;

use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Entity\Routing\AdminHtmlRouteProvider;

/**
 * Provides HTML routes for entities with administrative pages.
 */
class L10nPackagerFileHtmlRouteProvider extends AdminHtmlRouteProvider {

  /**
   * {@inheritdoc}
   */
  protected function getCanonicalRoute(EntityTypeInterface $entity_type) {
    return $this->getEditFormRoute($entity_type);
  }

}

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

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