Skip to content
Snippets Groups Projects
Select Git revision
  • 2559ae33b495ab7ff08611fc706d416a2ea7511a
  • main default protected
  • register-logging-channel
  • expr-lang
  • ci-82
  • attr-events
  • locale-wip
  • custom-routes
  • v0.1.85
  • v0.1.84
  • v0.1.83
  • v0.1.82
  • v0.1.81
  • v0.1.80
  • v0.1.79
  • v0.1.78
  • v0.1.77
  • v0.1.76
  • v0.1.75
  • v0.1.74
  • v0.1.73
  • v0.1.72
  • v0.1.71
  • v0.1.70
  • v0.1.69
  • v0.1.68
  • v0.1.67
  • v0.1.65
28 results

RoutingLoader.php

  • Reiter, Christoph's avatar
    2559ae33
    Add a custom routing loader for bundles · 2559ae33
    Reiter, Christoph authored
    This allows bundles to add something to the "dbp_api.route_resources"
    parameter which will then be loaded as routes.
    
    For example, using a routes.yml in the bundle, add the following to the array
    in the bundle setup:
    
    [__DIR__.'/../Resources/config/routes.yaml', 'yaml']
    2559ae33
    History
    Add a custom routing loader for bundles
    Reiter, Christoph authored
    This allows bundles to add something to the "dbp_api.route_resources"
    parameter which will then be loaded as routes.
    
    For example, using a routes.yml in the bundle, add the following to the array
    in the bundle setup:
    
    [__DIR__.'/../Resources/config/routes.yaml', 'yaml']