Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
0aa2a08f
Commit
0aa2a08f
authored
Feb 28, 2015
by
alexpott
Browse files
Issue
#2442173
by mpdonadio: Drop the unused class RouteBuilderStatic
parent
fd3b0470
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/Routing/RouteBuilderStatic.php
deleted
100644 → 0
View file @
fd3b0470
<?php
/**
* @file
* Contains \Drupal\Core\Routing\RouteBuilderStatic.
*/
namespace
Drupal\Core\Routing
;
/**
* This builds a static version of the router.
*/
class
RouteBuilderStatic
implements
RouteBuilderInterface
{
/**
* Marks a rebuild as being necessary.
*
* @var bool
*/
protected
$rebuildNeeded
=
FALSE
;
/**
* {@inheritdoc}
*/
public
function
rebuild
()
{
// @todo Add the route for the batch pages when that conversion happens,
// http://drupal.org/node/1987816.
}
/**
* {@inheritdoc}
*/
public
function
rebuildIfNeeded
(){
if
(
$this
->
rebuildNeeded
&&
$this
->
rebuild
())
{
$this
->
rebuildNeeded
=
FALSE
;
return
TRUE
;
}
return
FALSE
;
}
/**
* {@inheritdoc}
*/
public
function
setRebuildNeeded
()
{
$this
->
rebuildNeeded
=
TRUE
;
}
public
function
getCollectionDuringRebuild
()
{
return
FALSE
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment