- πΊπΈUnited States smustgrave
Is this still a desired task for D10?
Seems like it could be disruptive to remove at this stage.
Is it safe to remove page_top & page_bottom from custom theme .info file?? or it's required for every themes.
function system_system_info_alter(&$info, $file, $type) {
// Remove page-top from the blocks UI since it is reserved for modules to
// populate from outside the blocks system.
if ($type == 'theme') {
$info['regions_hidden'][] = 'page_top';
$info['regions_hidden'][] = 'page_bottom';
}
}
// Render page_top and page_bottom into top level variables.
$variables['page_top'] = drupal_render($variables['page']['page_top']);
$variables['page_bottom'] = drupal_render($variables['page']['page_bottom']);
Seems like it injects page_top&bottom to every theme even it's not defined.
Postponed: needs info
9.5
Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Is this still a desired task for D10?
Seems like it could be disruptive to remove at this stage.