GoogleAnalyticsEventTrackerHtmlRouteProvider.php in Google Analytics Event Tracking 8
Same filename and directory in other branches
Namespace
Drupal\google_analytics_etFile
src/GoogleAnalyticsEventTrackerHtmlRouteProvider.phpView source
<?php
namespace Drupal\google_analytics_et;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Entity\Routing\AdminHtmlRouteProvider;
use Symfony\Component\Routing\Route;
/**
* Provides routes for Google Analytics event tracker entities.
*
* @see Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
* @see Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
*/
class GoogleAnalyticsEventTrackerHtmlRouteProvider extends AdminHtmlRouteProvider {
/**
* {@inheritdoc}
*/
public function getRoutes(EntityTypeInterface $entity_type) {
$collection = parent::getRoutes($entity_type);
// Provide your custom entity routes here.
return $collection;
}
}
Classes
Name | Description |
---|---|
GoogleAnalyticsEventTrackerHtmlRouteProvider | Provides routes for Google Analytics event tracker entities. |