You are here

function template_preprocess_securesite_user_pass in Secure Site 8

Same name and namespace in other branches
  1. 6.2 theme/securesite.theme.inc \template_preprocess_securesite_user_pass()
  2. 7.2 theme/securesite.theme.inc \template_preprocess_securesite_user_pass()

Process variables for securesite-user-pass.html.twig

Parameters

$variables: An array of variables from the theme system.

File

theme/securesite.theme.inc, line 34
Theme functions.

Code

function template_preprocess_securesite_user_pass(&$variables) {
  $variables['title'] = String::checkPlain(\Drupal::config('securesite.settings')
    ->get('securesite_reset_form'));

  //$variables['form']['name']['#required'] = FALSE;
  $variables['name'] = $variables['form']['name'];
  $variables['submit'] = $variables['form']['submit'];

  //$variables['children'] = drupal_render_children($variables['form']);
}