Mercurial > hg > isophonics-drupal-site
view core/lib/Drupal/Core/Routing/RouteBuilderInterface.php @ 13:5fb285c0d0e3
Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've
been lucky to get away with this so far, as we don't support self-registration
which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5
was vulnerable to.
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:33:26 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\Core\Routing; /** * Rebuilds the route information and dumps it. * * Rebuilding the route information is the process of gathering all routing data * from .routing.yml files, creating a * \Symfony\Component\Routing\RouteCollection object out of it, and dispatching * that object as a \Drupal\Core\Routing\RouteBuildEvent to all registered * listeners. After that, the \Symfony\Component\Routing\RouteCollection object * is used to dump the data. Examples of a dump include filling up the routing * table, auto-generating Apache mod_rewrite rules, or auto-generating a PHP * matcher class. * * @see \Drupal\Core\Routing\MatcherDumperInterface * @see \Drupal\Core\Routing\RouteProviderInterface * * @ingroup routing */ interface RouteBuilderInterface { /** * Rebuilds the route information and dumps it. * * @return bool * Returns TRUE if the rebuild succeeds, FALSE otherwise. */ public function rebuild(); /** * Rebuilds the route information if necessary, and dumps it. * * @return bool * Returns TRUE if the rebuild occurs, FALSE otherwise. */ public function rebuildIfNeeded(); /** * Sets the router to be rebuilt next time rebuildIfNeeded() is called. */ public function setRebuildNeeded(); }