Drupal 8  8.0.2
UserTrackerTab Class Reference
Inheritance diagram for UserTrackerTab:

Public Member Functions

 getRouteParameters (RouteMatchInterface $route_match)
 
- Public Member Functions inherited from LocalTaskDefault
 getRouteName ()
 
 getRouteParameters (RouteMatchInterface $route_match)
 
 getTitle (Request $request=NULL)
 
 getWeight ()
 
 getOptions (RouteMatchInterface $route_match)
 
 setActive ($active=TRUE)
 
 getActive ()
 
 getCacheTags ()
 
 getCacheContexts ()
 
 getCacheMaxAge ()
 
- Public Member Functions inherited from PluginBase
 __construct (array $configuration, $plugin_id, $plugin_definition)
 
 getPluginId ()
 
 getBaseId ()
 
 getDerivativeId ()
 
 getPluginDefinition ()
 
- Public Member Functions inherited from LocalTaskInterface
 getTitle ()
 

Protected Member Functions

 currentUser ()
 
- Protected Member Functions inherited from LocalTaskDefault
 routeProvider ()
 

Protected Attributes

 $currentUser
 
- Protected Attributes inherited from LocalTaskDefault
 $routeProvider
 
 $active = FALSE
 
- Protected Attributes inherited from PluginBase
 $pluginId
 
 $pluginDefinition
 
 $configuration
 

Additional Inherited Members

- Data Fields inherited from PluginBase
const DERIVATIVE_SEPARATOR = ':'
 

Detailed Description

Provides route parameters needed to link to the current user tracker tab.

Member Function Documentation

currentUser ( )
protected

Gets the current active user.

Todo:
: https://www.drupal.org/node/2105123 put this method in instead.
Returns

References Drupal\currentUser().

Referenced by UserTrackerTab\getRouteParameters().

Here is the call graph for this function:

Here is the caller graph for this function:

getRouteParameters ( RouteMatchInterface  $route_match)

{Returns the route parameters needed to render a link for the local task.

Parameters
\Drupal\Core\Routing\RouteMatchInterface$route_matchThe current route match.
Returns
array An array of parameter names and values.
}

Implements LocalTaskInterface.

References UserTrackerTab\currentUser().

Here is the call graph for this function:


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