handled home loading if not available in dom (if drupalSettings.path.isFront == false)

This commit is contained in:
2019-06-04 22:38:44 +02:00
parent d8e5f93c14
commit 082e011fbb
22 changed files with 591 additions and 160 deletions

View File

@@ -0,0 +1,24 @@
<?php
/**
* @file
* Contains rest_config.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function rest_config_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the rest_config module.
case 'help.page.rest_config':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Get site configiration through rest api') . '</p>';
return $output;
default:
}
}