dxpr_gridstack-1.0.1/dxpr_gridstack.module

dxpr_gridstack.module
<?php

/**
 * @file
 * Primary module hooks for DXPR GridStack module.
 */

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function dxpr_gridstack_help($route_name, RouteMatchInterface $route_match) {
  if ($route_name == 'help.page.dxpr_gridstack') {
    return t(
      'Read our <a href=":url">DXPR GridStack Views Tutorial</a> on DXPR.com.',
      [':url' => 'https://www.sooperthemes.com/documentation/creating-new-gridstack-view']
    );
  }
}

/**
 * Implements hook_theme().
 */
function dxpr_gridstack_theme() {
  return [
    'dxpr_gridstack_gridstack_style' => [
      'variables' => [],
      'file' => 'theme.inc',
    ],
    'dxpr_gridstack_gridstack_row' => [
      'variables' => [],
      'file' => 'theme.inc',
    ],
    'dxpr_gridstack_gridstack_formatter' => [
      'variables' => [
        'item' => NULL,
        'item_attributes' => NULL,
        'url' => NULL,
        'image_style' => NULL,
      ],
      'file' => 'theme.inc',
    ],
  ];
}

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

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