function ctools_entity_bundle_ctools_access_settings_submit in Chaos Tool Suite (ctools) 7
Compress the entity bundles allowed to the minimum.
1 string reference to 'ctools_entity_bundle_ctools_access_settings_submit'
- entity_bundle.inc in plugins/
access/ entity_bundle.inc - Plugin to provide access control based upon entity bundle.
File
- plugins/
access/ entity_bundle.inc, line 70 - Plugin to provide access control based upon entity bundle.
Code
function ctools_entity_bundle_ctools_access_settings_submit($form, &$form_state) {
$form_state['values']['settings']['type'] = array_filter($form_state['values']['settings']['type']);
}