function uikit_theme_suggestions_container_alter

8.x-3.x alter.inc uikit_theme_suggestions_container_alter(array &$suggestions, array $variables)

Implements hook_theme_suggestions_HOOK_alter() for container templates.

File

includes/alter.inc, line 66
Modify structured content arrays.

Code

function uikit_theme_suggestions_container_alter(array &$suggestions, array $variables) {
  if (isset($variables ['element']['administration_menu'])) {
    $suggestions [] = 'container__admin__toolbar';
  }
}

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