You are here

layout_test.module in Drupal 10

Provides hook implementations for Layout Test.

File

core/modules/system/tests/modules/layout_test/layout_test.module
View source
<?php

/**
 * @file
 * Provides hook implementations for Layout Test.
 */

/**
 * Implements hook_preprocess_HOOK() for layout templates.
 */
function template_preprocess_layout_test_2col(&$variables) {
  $variables['region_attributes']['left']
    ->addClass('class-added-by-preprocess');
}

Functions

Namesort descending Description
template_preprocess_layout_test_2col Implements hook_preprocess_HOOK() for layout templates.