flga-8.x-1.x-dev/face_login_gauth.module
face_login_gauth.module
<?php
/**
* @file
* Contains face_login_gauth.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function face_login_gauth_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the face_login_gauth module.
case 'help.page.face_login_gauth':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Face Login GAuth Drupal 8') . '</p>';
return $output;
default:
}
}
/**
* Implements hook_theme().
*/
function face_login_gauth_theme($existing, $type, $theme, $path) {
return [
'qr_code' => [
'variables' => ['qr_code' => NULL],
],
];
}
