template_preprocess_container

function template_preprocess_container

template_preprocess_container(&$variables)

Prepares variables for container templates.

Default template: container.html.twig.

Parameters

array $variables: An associative array containing:

  • element: An associative array containing the properties of the element. Properties used: #id, #attributes, #children.

File

core/includes/theme.inc, line 1132
The theme system, which controls the output of Drupal.

Code

function template_preprocess_container(&$variables) {
  $varia