function isotope_available_configs in Isotope (with Masonry and Packery) 7.2
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 isotope_available_configs()
- IsotopeViewsPluginStyleIsotopeGrid::options_form in isotope_views/
IsotopeViewsPluginStyleIsotopeGrid.inc - Render the given style.
- isotope_reaction::options_form in plugins/
context/ isotope_reaction.inc - Configuration form for the Isotope context reaction.
File
- ./
isotope.module, line 113 - Load the isotope library and provide configuration and theme options.
Code
function 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;
}