1.20.x layout_test.module layout_test_layout_presave($layout)

Implements hook_layout_presave().

File

modules/layout/tests/layout_test/layout_test.module, line 135
Layout test module.

Code

function layout_test_layout_presave($layout) {
  $return = state_get('layout_test');
  $return[] = (__FUNCTION__ . ' called');
  state_set('layout_test', $return);
}