function block_drupal_alter_foo_alter in Drupal 7
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/common_test/common_test.module \block_drupal_alter_foo_alter()
- 9 core/modules/system/tests/modules/common_test/common_test.module \block_drupal_alter_foo_alter()
- 10 core/modules/system/tests/modules/common_test/common_test.module \block_drupal_alter_foo_alter()
Implements hook_TYPE_alter() on behalf of block module.
This is for verifying that drupal_alter(array(TYPE1, TYPE2), ...) allows hook_module_implements_alter() to affect the order in which module implementations are executed.
File
- modules/
simpletest/ tests/ common_test.module, line 207 - Helper module for the Common tests.
Code
function block_drupal_alter_foo_alter(&$data, &$arg2 = NULL, &$arg3 = NULL) {
$data['foo'] .= ' block';
}