Drupal investigation

Events.php 1005B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /*
  3. * This file is part of the Symfony CMF package.
  4. *
  5. * (c) 2011-2015 Symfony CMF
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Cmf\Component\Routing\Event;
  11. final class Events
  12. {
  13. /**
  14. * Fired before a path is matched in \Symfony\Cmf\Component\Routing\DynamicRouter#match.
  15. *
  16. * The event object is RouterMatchEvent.
  17. */
  18. const PRE_DYNAMIC_MATCH = 'cmf_routing.pre_dynamic_match';
  19. /**
  20. * Fired before a Request is matched in \Symfony\Cmf\Component\Routing\DynamicRouter#match.
  21. *
  22. * The event object is RouterMatchEvent.
  23. */
  24. const PRE_DYNAMIC_MATCH_REQUEST = 'cmf_routing.pre_dynamic_match_request';
  25. /**
  26. * Fired before a route is generated in \Symfony\Cmf\Component\Routing\DynamicRouter#generate.
  27. *
  28. * The event object is RouterGenerateEvent.
  29. */
  30. const PRE_DYNAMIC_GENERATE = 'cmf_routing.pre_dynamic_generate';
  31. }