You are here

function _popup_toolbar_routes in Popup 8

Get a list of toolbar links to provide.

We've factored this list into a function so that we can use it to test toolbar routes.

This function is for internal use.

Return value

string[] Keyed array of toolbar routes. Keys are the module name which supplies the route.

1 call to _popup_toolbar_routes()
popup_toolbar in ./popup.module
Implements hook_toolbar().

File

./popup.module, line 97
Module file for Popup module.

Code

function _popup_toolbar_routes() {
  return [
    'popup' => 'popup.admin',
  ];
}