function uikit_preprocess_details

8.x-3.x preprocess.inc uikit_preprocess_details(&$variables)
8.x-2.x preprocess.inc uikit_preprocess_details(&$variables)

File

includes/preprocess.inc, line 228
Set up variables to be placed within the template (.html.twig) files.

Code

function uikit_preprocess_details(&$variables) {
  $element = $variables ['element'];
  $group_details = isset($element ['#group_details']) && $element ['#group_details'];
  $variables ['group_details'] = FALSE;

  if ($group_details) {
    $variables ['group_details'] = TRUE;
  }
}

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Log in