Skip to content
Snippets Groups Projects
Commit 4a7a8b3c authored by Dries Buytaert's avatar Dries Buytaert
Browse files

Issue #2115077 by longwave: Remove unused _block_themes_access().

parent 50979d21
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -145,21 +145,6 @@ function block_menu() {
return $items;
}
/**
* Access callback: Only enabled themes can be accessed.
*
* Path:
* - admin/structure/block/list/% (for each theme)
*
* @param $theme
* Either the name of a theme or a full theme object.
*
* @see block_menu()
*/
function _block_themes_access($theme) {
return user_access('administer blocks') && drupal_theme_access($theme);
}
/**
* Theme callback: Uses the theme specified in the parameter.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment