custom_action_links-1.0.x-dev/custom_action_links.module

custom_action_links.module
<?php

/**
 * Implements hook_views_data().
 */
function custom_action_links_views_data(): array {
  $data['custom_action_links']['table']['group'] = t('Global');
  $data['custom_action_links']['table']['join'] = [
    // #global is a special flag which allows a table to appear all the time.
    '#global' => [],
  ];
  $data['custom_action_links']['custom_action_links'] = [
    'title' => t('Custom action links'),
    'area' => [
      'id' => 'custom_action_links',
    ],
  ];
  return $data;
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc