Skip navigation
Help

theme.php

  1. drupal
    1. 6 documentation/developer/theme.php
    2. 7 documentation/developer/theme.php

Shadow theme functions for theme templates.

The API module is currently being updated to allow template files to be included in the themeable group.

  • Patch API module to allow "ingroup" in "file" docblocks. [#559166]
  • Deploy updated API module, API 6.x-1.3.
  • Add "themeable" to file docblocks of all templates. [#716496]

When this process has been completed, this theme.php file should be removed from CVS.

Functions & methods

NameDescription
theme_aggregator_feed_sourceImplemented using the aggregator-feed-source.tpl.php template.
theme_aggregator_itemImplemented using the aggregator-item.tpl.php template.
theme_aggregator_summary_itemImplemented using the aggregator-summary-item.tpl.php template.
theme_aggregator_summary_itemsImplemented using the aggregator-summary-items.tpl.php template.
theme_aggregator_wrapperImplemented using the aggregator-wrapper.tpl.php template.
theme_blockImplemented using the block.tpl.php template.
theme_block_admin_display_formImplemented using the block-admin-display-form.tpl.php template.
theme_book_all_books_blockImplemented using the book-all-books-block.tpl.php template.
theme_book_export_htmlImplemented using the book-export-html.tpl.php template.
theme_book_navigationImplemented using the book-navigation.tpl.php template.
theme_book_node_export_htmlImplemented using the book-node-export-html.tpl.php template.
theme_commentImplemented using the comment.tpl.php template.
theme_comment_wrapperImplemented using the comment-wrapper.tpl.php template.
theme_fieldImplemented using the field.tpl.php template.
theme_field_ui_display_overview_tableImplemented using the field_ui-display-overview-table.tpl.php template.
theme_field_ui_field_overview_formImplemented using the field_ui-field-overview-form.tpl.php template.
theme_forumsImplemented using the forums.tpl.php template.
theme_forum_iconImplemented using the forum-icon.tpl.php template.
theme_forum_listImplemented using the forum-list.tpl.php template.
theme_forum_submittedImplemented using the forum-submitted.tpl.php template.
theme_forum_topic_listImplemented using the forum-topic-list.tpl.php template.
theme_htmlImplemented using the html.tpl.php template.
theme_maintenance_pageImplemented using the maintenance-page.tpl.php template.
theme_nodeImplemented using the node.tpl.php template.
theme_pageImplemented using the page.tpl.php template.
theme_poll_barImplemented using the poll-bar.tpl.php template.
theme_poll_bar__blockImplemented using the poll-bar--block.tpl.php template.
theme_poll_resultsImplemented using the poll-results.tpl.php template.
theme_poll_results__blockImplemented using the poll-results--block.tpl.php template.
theme_poll_voteImplemented using the poll-vote.tpl.php template.
theme_profile_blockImplemented using the profile-block.tpl.php template.
theme_profile_listingImplemented using the profile-listing.tpl.php template.
theme_profile_wrapperImplemented using the profile-wrapper.tpl.php template.
theme_regionImplemented using the region.tpl.php template.
theme_search_block_formImplemented using the search-block-form.tpl.php template.
theme_search_resultImplemented using the search-result.tpl.php template.
theme_search_resultsImplemented using the search-results.tpl.php template.
theme_taxonomy_termImplemented using the taxonomy-term.tpl.php template.
theme_toolbarImplemented using the toolbar.tpl.php template.
theme_user_pictureImplemented using the user-picture.tpl.php template.
theme_user_profileImplemented using the user-profile.tpl.php template.
theme_user_profile_categoryImplemented using the user-profile-category.tpl.php template.
theme_user_profile_itemImplemented using the user-profile-item.tpl.php template.

File

documentation/developer/theme.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Shadow theme functions for theme templates.
  5. *
  6. * The API module is currently being updated to allow template files to be
  7. * included in the themeable group.
  8. * - Patch API module to allow "ingroup" in "file" docblocks. [#559166]
  9. * - Deploy updated API module, API 6.x-1.3.
  10. * - Add "themeable" to file docblocks of all templates. [#716496]
  11. *
  12. * When this process has been completed, this theme.php file should be removed
  13. * from CVS.
  14. */
  15. /**
  16. * @ingroup themeable
  17. * @{
  18. */
  19. /**
  20. * Implemented using the aggregator-feed-source.tpl.php template.
  21. *
  22. * @see aggregator-feed-source.tpl.php
  23. */
  24. function theme_aggregator_feed_source($variables) {
  25. // This function is never used; see the corresponding template file instead.
  26. }
  27. /**
  28. * Implemented using the aggregator-item.tpl.php template.
  29. *
  30. * @see aggregator-item.tpl.php
  31. */
  32. function theme_aggregator_item($variables) {
  33. // This function is never used; see the corresponding template file instead.
  34. }
  35. /**
  36. * Implemented using the aggregator-summary-item.tpl.php template.
  37. *
  38. * @see aggregator-summary-item.tpl.php
  39. */
  40. function theme_aggregator_summary_item($variables) {
  41. // This function is never used; see the corresponding template file instead.
  42. }
  43. /**
  44. * Implemented using the aggregator-summary-items.tpl.php template.
  45. *
  46. * @see aggregator-summary-items.tpl.php
  47. */
  48. function theme_aggregator_summary_items($variables) {
  49. // This function is never used; see the corresponding template file instead.
  50. }
  51. /**
  52. * Implemented using the aggregator-wrapper.tpl.php template.
  53. *
  54. * @see aggregator-wrapper.tpl.php
  55. */
  56. function theme_aggregator_wrapper($variables) {
  57. // This function is never used; see the corresponding template file instead.
  58. }
  59. /**
  60. * Implemented using the block-admin-display-form.tpl.php template.
  61. *
  62. * @see block-admin-display-form.tpl.php
  63. */
  64. function theme_block_admin_display_form($variables) {
  65. // This function is never used; see the corresponding template file instead.
  66. }
  67. /**
  68. * Implemented using the block.tpl.php template.
  69. *
  70. * @see block.tpl.php
  71. */
  72. function theme_block($variables) {
  73. // This function is never used; see the corresponding template file instead.
  74. }
  75. /**
  76. * Implemented using the book-all-books-block.tpl.php template.
  77. *
  78. * @see book-all-books-block.tpl.php
  79. */
  80. function theme_book_all_books_block($variables) {
  81. // This function is never used; see the corresponding template file instead.
  82. }
  83. /**
  84. * Implemented using the book-export-html.tpl.php template.
  85. *
  86. * @see book-export-html.tpl.php
  87. */
  88. function theme_book_export_html($variables) {
  89. // This function is never used; see the corresponding template file instead.
  90. }
  91. /**
  92. * Implemented using the book-navigation.tpl.php template.
  93. *
  94. * @see book-navigation.tpl.php
  95. */
  96. function theme_book_navigation($variables) {
  97. // This function is never used; see the corresponding template file instead.
  98. }
  99. /**
  100. * Implemented using the book-node-export-html.tpl.php template.
  101. *
  102. * @see book-node-export-html.tpl.php
  103. */
  104. function theme_book_node_export_html($variables) {
  105. // This function is never used; see the corresponding template file instead.
  106. }
  107. /**
  108. * Implemented using the comment-wrapper.tpl.php template.
  109. *
  110. * @see comment-wrapper.tpl.php
  111. */
  112. function theme_comment_wrapper($variables) {
  113. // This function is never used; see the corresponding template file instead.
  114. }
  115. /**
  116. * Implemented using the comment.tpl.php template.
  117. *
  118. * @see comment.tpl.php
  119. */
  120. function theme_comment($variables) {
  121. // This function is never used; see the corresponding template file instead.
  122. }
  123. /**
  124. * Implemented using the field.tpl.php template.
  125. *
  126. * @see field.tpl.php
  127. */
  128. function theme_field($variables) {
  129. // This function is never used; see the corresponding template file instead.
  130. }
  131. /**
  132. * Implemented using the field_ui-display-overview-table.tpl.php template.
  133. *
  134. * @see field_ui-display-overview-table.tpl.php
  135. */
  136. function theme_field_ui_display_overview_table($variables) {
  137. // This function is never used; see the corresponding template file instead.
  138. }
  139. /**
  140. * Implemented using the field_ui-field-overview-form.tpl.php template.
  141. *
  142. * @see field_ui-field-overview-form.tpl.php
  143. */
  144. function theme_field_ui_field_overview_form($variables) {
  145. // This function is never used; see the corresponding template file instead.
  146. }
  147. /**
  148. * Implemented using the forum-icon.tpl.php template.
  149. *
  150. * @see forum-icon.tpl.php
  151. */
  152. function theme_forum_icon($variables) {
  153. // This function is never used; see the corresponding template file instead.
  154. }
  155. /**
  156. * Implemented using the forum-list.tpl.php template.
  157. *
  158. * @see forum-list.tpl.php
  159. */
  160. function theme_forum_list($variables) {
  161. // This function is never used; see the corresponding template file instead.
  162. }
  163. /**
  164. * Implemented using the forum-submitted.tpl.php template.
  165. *
  166. * @see forum-submitted.tpl.php
  167. */
  168. function theme_forum_submitted($variables) {
  169. // This function is never used; see the corresponding template file instead.
  170. }
  171. /**
  172. * Implemented using the forum-topic-list.tpl.php template.
  173. *
  174. * @see forum-topic-list.tpl.php
  175. */
  176. function theme_forum_topic_list($variables) {
  177. // This function is never used; see the corresponding template file instead.
  178. }
  179. /**
  180. * Implemented using the forums.tpl.php template.
  181. *
  182. * @see forums.tpl.php
  183. */
  184. function theme_forums($variables) {
  185. // This function is never used; see the corresponding template file instead.
  186. }
  187. /**
  188. * Implemented using the node.tpl.php template.
  189. *
  190. * @see node.tpl.php
  191. */
  192. function theme_node($variables) {
  193. // This function is never used; see the corresponding template file instead.
  194. }
  195. /**
  196. * Implemented using the poll-bar--block.tpl.php template.
  197. *
  198. * @see poll-bar--block.tpl.php
  199. */
  200. function theme_poll_bar__block($variables) {
  201. // This function is never used; see the corresponding template file instead.
  202. }
  203. /**
  204. * Implemented using the poll-bar.tpl.php template.
  205. *
  206. * @see poll-bar.tpl.php
  207. */
  208. function theme_poll_bar($variables) {
  209. // This function is never used; see the corresponding template file instead.
  210. }
  211. /**
  212. * Implemented using the poll-results--block.tpl.php template.
  213. *
  214. * @see poll-results--block.tpl.php
  215. */
  216. function theme_poll_results__block($variables) {
  217. // This function is never used; see the corresponding template file instead.
  218. }
  219. /**
  220. * Implemented using the poll-results.tpl.php template.
  221. *
  222. * @see poll-results.tpl.php
  223. */
  224. function theme_poll_results($variables) {
  225. // This function is never used; see the corresponding template file instead.
  226. }
  227. /**
  228. * Implemented using the poll-vote.tpl.php template.
  229. *
  230. * @see poll-vote.tpl.php
  231. */
  232. function theme_poll_vote($variables) {
  233. // This function is never used; see the corresponding template file instead.
  234. }
  235. /**
  236. * Implemented using the profile-block.tpl.php template.
  237. *
  238. * @see profile-block.tpl.php
  239. */
  240. function theme_profile_block($variables) {
  241. // This function is never used; see the corresponding template file instead.
  242. }
  243. /**
  244. * Implemented using the profile-listing.tpl.php template.
  245. *
  246. * @see profile-listing.tpl.php
  247. */
  248. function theme_profile_listing($variables) {
  249. // This function is never used; see the corresponding template file instead.
  250. }
  251. /**
  252. * Implemented using the profile-wrapper.tpl.php template.
  253. *
  254. * @see profile-wrapper.tpl.php
  255. */
  256. function theme_profile_wrapper($variables) {
  257. // This function is never used; see the corresponding template file instead.
  258. }
  259. /**
  260. * Implemented using the search-block-form.tpl.php template.
  261. *
  262. * @see search-block-form.tpl.php
  263. */
  264. function theme_search_block_form($variables) {
  265. // This function is never used; see the corresponding template file instead.
  266. }
  267. /**
  268. * Implemented using the search-result.tpl.php template.
  269. *
  270. * @see search-result.tpl.php
  271. */
  272. function theme_search_result($variables) {
  273. // This function is never used; see the corresponding template file instead.
  274. }
  275. /**
  276. * Implemented using the search-results.tpl.php template.
  277. *
  278. * @see search-results.tpl.php
  279. */
  280. function theme_search_results($variables) {
  281. // This function is never used; see the corresponding template file instead.
  282. }
  283. /**
  284. * Implemented using the html.tpl.php template.
  285. *
  286. * @see html.tpl.php
  287. */
  288. function theme_html($variables) {
  289. // This function is never used; see the corresponding template file instead.
  290. }
  291. /**
  292. * Implemented using the maintenance-page.tpl.php template.
  293. *
  294. * @see maintenance-page.tpl.php
  295. */
  296. function theme_maintenance_page($variables) {
  297. // This function is never used; see the corresponding template file instead.
  298. }
  299. /**
  300. * Implemented using the page.tpl.php template.
  301. *
  302. * @see page.tpl.php
  303. */
  304. function theme_page($variables) {
  305. // This function is never used; see the corresponding template file instead.
  306. }
  307. /**
  308. * Implemented using the region.tpl.php template.
  309. *
  310. * @see region.tpl.php
  311. */
  312. function theme_region($variables) {
  313. // This function is never used; see the corresponding template file instead.
  314. }
  315. /**
  316. * Implemented using the taxonomy-term.tpl.php template.
  317. *
  318. * @see taxonomy-term.tpl.php
  319. */
  320. function theme_taxonomy_term($variables) {
  321. // This function is never used; see the corresponding template file instead.
  322. }
  323. /**
  324. * Implemented using the toolbar.tpl.php template.
  325. *
  326. * @see toolbar.tpl.php
  327. */
  328. function theme_toolbar($variables) {
  329. // This function is never used; see the corresponding template file instead.
  330. }
  331. /**
  332. * Implemented using the user-picture.tpl.php template.
  333. *
  334. * @see user-picture.tpl.php
  335. */
  336. function theme_user_picture($variables) {
  337. // This function is never used; see the corresponding template file instead.
  338. }
  339. /**
  340. * Implemented using the user-profile-category.tpl.php template.
  341. *
  342. * @see user-profile-category.tpl.php
  343. */
  344. function theme_user_profile_category($variables) {
  345. // This function is never used; see the corresponding template file instead.
  346. }
  347. /**
  348. * Implemented using the user-profile-item.tpl.php template.
  349. *
  350. * @see user-profile-item.tpl.php
  351. */
  352. function theme_user_profile_item($variables) {
  353. // This function is never used; see the corresponding template file instead.
  354. }
  355. /**
  356. * Implemented using the user-profile.tpl.php template.
  357. *
  358. * @see user-profile.tpl.php
  359. */
  360. function theme_user_profile($variables) {
  361. // This function is never used; see the corresponding template file instead.
  362. }
  363. /**
  364. * @} End of "ingroup themeable".
  365. */