QTools
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
QTools is a lib module, it does not do anything on its own but provide some api for site developers and other modules like "QTools Varnish", "Cache Common" etc.
Module highlights:
qtools.inc
- API to work with cache tags ("QTools Varnish", "Cache Common")
- API to work with arrays (qtools_api__array_*)
- API to determinate if current user is developer (used to hide some elements even from user 1 as superuser is client user and not a developer)
- Entity field values fetcher qtools_api__field_get_item() (vastly reduce amount of code needed to get entity fields data)
- Views proxy function qtools_api__views_get_result() (replacement for views_get_view_result() views_embed_view() with ability to pass exposed filters, items per page, and access to raw results when view is rendered)
- Other utility functions
js/qtools.base.js
- Cookie functions
- Local storage functions
- Log function
- Other utility functions
js/qtools.ajax.js
- Ajax layer
js/qtools.autocomplete.js
- Autocomplete extended (you can send any other form fields along with search string to limit autocomplete results based on dynamic form conditions, also response can contain values for more than one field)
