CustomContextualLinkHtmlRouteProvider.php in Custom Contextual Links 8.2
Namespace
Drupal\cclFile
src/CustomContextualLinkHtmlRouteProvider.phpView 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
Name | Description |
---|---|
CustomContextualLinkHtmlRouteProvider | Provides routes for Custom Contextual Link entities. |