updated core to 7.53

This commit is contained in:
Bachir Soussi Chiadmi
2016-12-23 10:39:24 +01:00
parent e7aa033981
commit 400dd6e9f4
337 changed files with 9443 additions and 2570 deletions
@@ -53,6 +53,11 @@ function theme_test_menu() {
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['theme-test/drupal-add-region-content'] = array(
'page callback' => '_theme_test_drupal_add_region_content',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}
@@ -126,6 +131,14 @@ function _theme_test_suggestion() {
return theme(array('theme_test__suggestion', 'theme_test'), array());
}
/**
* Page callback, calls drupal_add_region_content.
*/
function _theme_test_drupal_add_region_content() {
drupal_add_region_content('content', 'World');
return 'Hello';
}
/**
* Theme function for testing theme('theme_test_foo').
*/