You are here

RouteSubscriber.php in Twilio 8

File

src/Routing/RouteSubscriber.php
View source
<?php

namespace Drupal\twilio\Routing;

use Drupal\Core\Routing\RouteSubscriberBase;
use Symfony\Component\Routing\RouteCollection;

/**
 * Listens to dynamic route events.
 */
class RouteSubscriber extends RouteSubscriberBase {

  /**
   * {@inheritdoc}
   */
  public function alterRoutes(RouteCollection $collection) {

    // @TODO
    // Parts of your hook_menu_alter() logic should be moved in here.
  }

}

Classes

Namesort descending Description
RouteSubscriber Listens to dynamic route events.