argue-2.0.0-alpha4/modules/argue_user/argue_user.module

modules/argue_user/argue_user.module
<?php

/**
 * @file
 * Contains argue_user.module.
 */

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function argue_user_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    // Main module help for the argue_user module.
    case 'help.page.argue_user':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Customize user UI for Argue.') . '</p>';
      return $output;

    default:
  }
}

/**
 * Implements hook_theme().
 */
function argue_user_theme() {
  return [
    'argue_user_address' => [
      'variables' => [
        'header' => NULL,
        'content' => NULL,
      ],
    ],
  ];
}

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

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