Drupal 8  8.0.2
NullGenerator Class Reference
Inheritance diagram for NullGenerator:

Public Member Functions

 __construct (RequestStack $request_stack)
 
 setContext (SymfonyRequestContext $context)
 
 getContext ()
 
- Public Member Functions inherited from UrlGenerator
 __construct (RouteProviderInterface $provider, OutboundPathProcessorInterface $path_processor, OutboundRouteProcessorInterface $route_processor, RequestStack $request_stack, array $filter_protocols=['http', 'https'])
 
 setContext (SymfonyRequestContext $context)
 
 getContext ()
 
 setStrictRequirements ($enabled)
 
 isStrictRequirements ()
 
 getPathFromRoute ($name, $parameters=array())
 
 generate ($name, $parameters=array(), $absolute=FALSE)
 
 generateFromRoute ($name, $parameters=array(), $options=array(), $collect_bubbleable_metadata=FALSE)
 
 supports ($name)
 
 getRouteDebugMessage ($name, array $parameters=array())
 

Protected Member Functions

 getRoute ($name)
 
 processRoute ($name, Route $route, array &$parameters, BubbleableMetadata $bubbleable_metadata=NULL)
 
 getInternalPathFromRoute ($name, Route $route, $parameters=array(), $query_params=array())
 
 processPath ($path, &$options=array(), BubbleableMetadata $bubbleable_metadata=NULL)
 
- Protected Member Functions inherited from UrlGenerator
 doGenerate (array $variables, array $defaults, array $tokens, array $parameters, array $query_params, $name)
 
 getInternalPathFromRoute ($name, SymfonyRoute $route, $parameters=array(), $query_params=array())
 
 processPath ($path, &$options=array(), BubbleableMetadata $bubbleable_metadata=NULL)
 
 processRoute ($name, SymfonyRoute $route, array &$parameters, BubbleableMetadata $bubbleable_metadata=NULL)
 
 getRoute ($name)
 

Additional Inherited Members

- Protected Attributes inherited from UrlGenerator
 $context
 
 $requestStack
 
 $pathProcessor
 
 $routeProcessor
 
 $decodedChars
 

Detailed Description

No-op implementation of a Url Generator, needed for backward compatibility.

Constructor & Destructor Documentation

__construct ( RequestStack  $request_stack)

Override the parent constructor.

Parameters
\Symfony\Component\HttpFoundation\RequestStack$request_stackThe request stack.

References Drupal\requestStack().

Here is the call graph for this function:

Member Function Documentation

getContext ( )

{}

getInternalPathFromRoute (   $name,
Route  $route,
  $parameters = array(),
  $query_params = array() 
)
protected

{}

getRoute (   $name)
protected

{}

generate(), generateFromRoute(), and getPathFromRoute() all call this protected method.

References Drupal\requestStack().

Here is the call graph for this function:

processPath (   $path,
$options = array(),
BubbleableMetadata  $bubbleable_metadata = NULL 
)
protected

{}

processRoute (   $name,
Route  $route,
array &  $parameters,
BubbleableMetadata  $bubbleable_metadata = NULL 
)
protected

{}

setContext ( SymfonyRequestContext  $context)

{}


The documentation for this class was generated from the following file: