layout_test.module
Same filename in other branches
File
-
core/
modules/ system/ tests/ modules/ layout_test/ layout_test.module
View source
<?php
/**
* @file
* Provides hook implementations for Layout Test.
*/
declare (strict_types=1);
/**
* Implements hook_preprocess_HOOK() for layout templates.
*/
function template_preprocess_layout_test_2col(&$variables) {
$variables['region_attributes']['left']->addClass('class-added-by-preprocess');
}
Functions
Title | Deprecated | Summary |
---|---|---|
template_preprocess_layout_test_2col | Implements hook_preprocess_HOOK() for layout templates. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.