function context_reaction_addassets_base::_context_addassets_search in Context Add Assets 6
Same name and namespace in other branches
- 7 plugins/context_reaction_addassets_base.inc \context_reaction_addassets_base::_context_addassets_search()
* Scan active themes for js files. * *
Return value
Array * An array indexed by file paths containing strings describing each path "Theme Key - File Name"
1 call to context_reaction_addassets_base::_context_addassets_search()
- context_reaction_addassets_base::options_form in plugins/
context_reaction_addassets_base.inc - Prepare formatted form array showing grouped assets grouped by location and show as checkboxes
File
- plugins/
context_reaction_addassets_base.inc, line 129 - The Context reaction plugin to add asset files
Class
- context_reaction_addassets_base
- Expose themes as context reactions.
Code
function _context_addassets_search() {
$found_files = _context_addassets_scandir($this->search_type, $this->search_scope);
return $found_files;
}