You are here

Routes.php in Drupal 8

File

core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php
View source
<?php

namespace Drupal\menu_link_content_dynamic_route;


/**
 * Provides dynamic routes for test purposes.
 */
class Routes {
  public function dynamic() {
    return \Drupal::state()
      ->get('menu_link_content_dynamic_route.routes', []);
  }

}

Classes

Namesort descending Description
Routes Provides dynamic routes for test purposes.