You are here

CustomContextualLinkHtmlRouteProvider.php in Custom Contextual Links 8.2

Namespace

Drupal\ccl

File

src/CustomContextualLinkHtmlRouteProvider.php
View source
<?php

namespace Drupal\ccl;

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

/**
 * Provides routes for Custom Contextual Link entities.
 */
class CustomContextualLinkHtmlRouteProvider extends AdminHtmlRouteProvider {

  /**
   * {@inheritdoc}
   */
  public function getRoutes(EntityTypeInterface $entity_type) {
    $collection = parent::getRoutes($entity_type);
    return $collection;
  }

}

Classes

Namesort descending Description
CustomContextualLinkHtmlRouteProvider Provides routes for Custom Contextual Link entities.