kb-8.x-1.x-dev/modules/kb_h5p/kb_h5p.module

modules/kb_h5p/kb_h5p.module
<?php
/**
 * @file
 * Creates an H5P content type that is compatible with the KnowledgeBAse module.
 */

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function kb_h5p_help($route_name, RouteMatchInterface $route_match) {
    switch ($route_name) {
        case 'help.page.kb':
            $ret = '<h2>' . t('KnowledgeBase H5P') . '</h2>';
            $ret .= '<h3>' . t('Todo: Add help') . '</h3>';
            $ret .= '<p>' . t('Add help items as we come across them, or add as we finish the module features') . '</p>';
            return $ret;
    }
}

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

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