function views_isotope_available_configs in Brainstorm profile 7
Return a list of available configs.
Return value
array A list of available configs in a format ready for a select element.
2 calls to views_isotope_available_configs()
- IsotopeReaction::optionsForm in modules/
custom/ views_isotope/ plugins/ context/ views_isotope_reaction.inc - Configuration form for the Isotope context reaction.
- ViewsIsotopeViewsPluginStyleIsotopeGrid::optionsForm in modules/
custom/ views_isotope/ views/ ViewsIsotopeViewsPluginStyleIsotopeGrid.inc - Render the given style.
File
- modules/
custom/ views_isotope/ views_isotope.module, line 114 - Load the isotope library and provide configuration and theme options.
Code
function views_isotope_available_configs() {
$available_configs = ctools_export_crud_load_all('isotope_configurations');
foreach ($available_configs as $key => $value) {
$available_configs[$key] = $value->admin_title;
}
return $available_configs;
}