public function NullMatcherDumper::dump

public NullMatcherDumper::dump(array $options = array())

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.

Overrides MatcherDumperInterface::dump

File

core/lib/Drupal/Core/Routing/NullMatcherDumper.php, line 42

Class

NullMatcherDumper
Does not dump Route information.

Namespace

Drupal\Core\Routing

Code

public function dump(array $options = array()) {
  // The dumper is reused for multiple providers, so reset the queued routes.
  $this->routes = NULL;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!NullMatcherDumper.php/function/NullMatcherDumper::dump/8.1.x