created materio_sapi module and draft of search form block

This commit is contained in:
2019-05-28 17:56:34 +02:00
parent 42fc4e290e
commit ddd80ec288
29 changed files with 256 additions and 46 deletions

View File

@@ -0,0 +1,24 @@
<?php
/**
* @file
* Contains materio_sapi.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function materio_sapi_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the materio_sapi module.
case 'help.page.materio_sapi':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Search Api Materio module') . '</p>';
return $output;
default:
}
}