This issue is composed of two aspects:
function mytheme_preprocess_links(&$variables) {
// ...
}
function mytheme_preprocess_links__entity(&$variables) {
// ...
}
function mytheme_preprocess_links__entity__node(&$variables) {
// ...
}
Depending on the runtime conditions when the registry is processed, theme('links__entity__node')
might end up in one of these two cases:
mytheme_preprocess_links__entity__node()
and mytheme_preprocess_links__entity()
are invoked;mytheme_preprocess_links__entity__node()
and mytheme_preprocess_links()
are invoked.I'd expect all three preprocess functions to be invoked.
(pre)process
and include
data so that the whole hierarchy is traversed when dealing with the most specific suggestion.None
This will most definitely result in a behavior change, which could be considered a BC-breaking change. OTOH the current behavior can be very tricky, as the theme may behave differently on each theme registry rebuild.
None
TBD
Closed: won't fix
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.