protected AliasWhitelist::loadMenuPathRoots()
Loads menu path roots to prepopulate cache.
File
- core/lib/Drupal/Core/Path/AliasWhitelist.php, line 71
Class
- AliasWhitelist
- Extends CacheCollector to build the path alias whitelist over time.
Namespace
Drupal\Core\Path
Code
1 2 3 4 5 6 7 8 | protected function loadMenuPathRoots() { if ( $roots = $this ->state->get( 'router.path_roots' )) { foreach ( $roots as $root ) { $this ->storage[ $root ] = NULL; $this ->persist( $root ); } } } |
Please login to continue.