Professional Documents
Culture Documents
Theme Flow 6 1
Theme Flow 6 1
if hook is function
f.a themeName_hook($arguments) or f.b engineName_hook($arguments) f.c theme_hook($arguments) [ default implementation as function ] .engine .module/.inc template.php
t.a
moduleName_preprocess_hook engineName_engine_preprocess engineName_engine_preprocess_hook engineName_preprocess engineName_preprocess_hook themeName_preprocess themeName_preprocess_hook [ collect suggestions ] drupal_discover_template [ nd implemented suggestion ] theme_render_template .engine
t.b
[ assemble .tpl.php le ]
suggestion default hook