Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Aug 2011 at 16:35 UTC
Updated:
24 Oct 2015 at 05:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
crookednumber commentedThis is my first hook-related patch, so I had a few questions about comments, the location of the sample hook (just added to the bottom of the api file), any recs for the sample hook (e.g., how trivial and/or playful should it be?), so feel free to dig in. Thanks.
Comment #2
crookednumber commentedChanging status.
Comment #3
crookednumber commented#1: add-hook-to-system_theme_default-1243004.patch queued for re-testing.
Comment #5
crookednumber commentedRe-rolling for architecture change of 11/1/2011.
http://groups.drupal.org/node/179649
Comment #6
valthebaldWhat use case do you see in altering system_theme_default()? It almost doesn't contain own logic, just a set of API calls, that you can reuse in your own callback.
Comment #7
internetdevels commentedRe-rolling for #5
Comment #8
valthebaldStill no answer what could be the use case for that hook...
Comment #9
crookednumber commentedIt's been a while, but I believe the use-case was a fairly customized need. E.g., if the theme is set to X, then disable this block, move this block to the top of a region, etc.
Re-reading #6, it seems that there might be some confusion. I'm not trying to alter the function or the default theme being set.
It's just a regular hook. When X happens, I'd like to do Y. A good comparison would be the way most people use hook_modules_enabled.
Comment #12
mgiffordUnassigning so someone else can take it on.
Comment #13
joelpittetDoesn't seem that it's got a strong case for this feature. Closing for D8 rc triage.