function ds_panels_cache_settings_form in Display Suite 7
Cache settings form.
1 string reference to 'ds_panels_cache_settings_form'
- ds_panels_cache.inc in modules/
ds_extras/ plugins/ cache/ ds_panels_cache.inc
File
- modules/
ds_extras/ plugins/ cache/ ds_panels_cache.inc, line 60
Code
function ds_panels_cache_settings_form($conf, $display, $pid) {
$options = array(
'entity_updated' => t('When the individual node, user etc. is updated'),
);
$form['lifetime'] = array(
'#title' => t('Lifetime'),
'#type' => 'select',
'#options' => $options,
'#default_value' => $conf['lifetime'],
'#description' => t('Clear the cache on a certain event, e.g when a single node is updated, the display cache for that node will be cleared.'),
);
return $form;
}