Drupal 8  8.0.2
BlockContentAddLocalAction Class Reference
Inheritance diagram for BlockContentAddLocalAction:

Public Member Functions

 getOptions (RouteMatchInterface $route_match)
- Public Member Functions inherited from LocalActionDefault
 __construct (array $configuration, $plugin_id, $plugin_definition, RouteProviderInterface $route_provider)
 getRouteName ()
 getTitle (Request $request=NULL)
 getWeight ()
 getRouteParameters (RouteMatchInterface $route_match)
 getOptions (RouteMatchInterface $route_match)
- Public Member Functions inherited from PluginBase
 __construct (array $configuration, $plugin_id, $plugin_definition)
 getPluginId ()
 getBaseId ()
 getDerivativeId ()
 getPluginDefinition ()
- Public Member Functions inherited from LocalActionInterface
 getTitle ()

Additional Inherited Members

- Static Public Member Functions inherited from LocalActionDefault
static create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
- Data Fields inherited from PluginBase
- Protected Attributes inherited from LocalActionDefault
- Protected Attributes inherited from PluginBase

Detailed Description

Modifies the 'Add custom block' local action.

Member Function Documentation

getOptions ( RouteMatchInterface  $route_match)

{Returns options for rendering a link for the local action.

\Drupal\Core\Routing\RouteMatchInterface$route_matchThe current route match.
array An associative array of options.

Implements LocalActionInterface.

References RouteMatchInterface\getParameter(), RouteMatchInterface\getRouteName(), and Drupal\url().

Here is the call graph for this function:

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