Themekit provides a few new theme hooks/functions, that are useful in render arrays.
This module is a requirement for renderkit.
Element types provided
'themekit_container' - Like 'container', but with an additional parameter for '#tag_name'.
'themekit_link_wrapper' - Wraps all child elements into a link tag.
Theme hooks provided
'themekit_container' - Theme wrapper, wraps all child elements into a container tag.
'themekit_link_wrapper' - Theme wrapper, wraps all child elements into a link tag.
'themekit_item_containers' - Wraps each child element into a container tag.
'themekit_item_list' - Builds a <ul> or <ol> list, with child elements as list items.
'themekit_separator_list' - Builds a separator list, with child elements as list items.
7.x-1.x vs 7.x-2.x
The 7.x-1.x branch contained a feature that allowed to register theme preprocess functions in render arrays. The implementation had a small cost in performance.
The 7.x-2.x branch no longer contains this feature, which gives it a very tiny performance bonus.
See #3002086: Remove THEMEKIT_PREPROCESS and THEMEKIT_PROCESS functionality for performance.
Project information
1 site reports using this module
- Created by donquixote on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
