route_ui-1.0.0-alpha2/route_ui.module
route_ui.module
<?php
/**
* @file
* Drupal hook implementations for the Route UI module.
*/
/**
* Implements hook_views_data().
*/
function route_ui_views_data(): array {
$data['route_ui']['table']['group'] = t('Global');
$data['route_ui']['table']['join'] = [
// #global is a special flag which allows a table to appear all the time.
'#global' => [],
];
$data['route_ui']['custom_action_links'] = [
'title' => t('Custom action links'),
'area' => [
'id' => 'custom_action_links',
],
];
return $data;
}
/**
* Implements hook_theme().
*/
function route_ui_theme() {
return [
'route_ui_custom_action_links' => [
'variables' => ['links' => NULL],
],
];
}
