Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Dec 2015 at 04:03 UTC
Updated:
11 Dec 2015 at 17:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joelpittetYou need to use _alter() hook in your theme, the definition of suggestions only works in modules. It's a gotcha kinda.
Comment #3
ankit agrawal commentedComment #4
ankit agrawal commentedComment #5
mohit_aghera commentedComment #6
mac_weber commented□
Comment #7
mac_weber commentedSorry, I created this issue while testing a new tool for managing the issues using D.O api.
Actually, there is already example code for this hook, then we can remove the @todo tag.
Closing this issue in favor of #2632996: Remove @todo tags at functions hook_theme_suggestions_HOOK() and hook_theme_suggestions_HOOK_alter() in file Theme.api.php
Comment #8
star-szr