function NullMatcherDumper::dump
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/NullMatcherDumper.php \Drupal\Core\Routing\NullMatcherDumper::dump()
- 10 core/lib/Drupal/Core/Routing/NullMatcherDumper.php \Drupal\Core\Routing\NullMatcherDumper::dump()
- 11.x core/lib/Drupal/Core/Routing/NullMatcherDumper.php \Drupal\Core\Routing\NullMatcherDumper::dump()
Dumps a set of routes to the router table in the database.
Available options:
- provider: The route grouping that is being dumped. All existing routes with this provider will be deleted on dump.
- base_class: The base class name.
Parameters
array $options: An array of options.
File
-
core/
lib/ Drupal/ Core/ Routing/ NullMatcherDumper.php, line 42
Class
- NullMatcherDumper
- Does not dump Route information.
Namespace
Drupal\Core\RoutingCode
public function dump(array $options = []) {
// The dumper is reused for multiple providers, so reset the queued routes.
$this->routes = NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.