function file_entity_form_system_performance_settings_alter in File Entity (fieldable files) 7.3
Same name and namespace in other branches
- 7.2 file_entity.module \file_entity_form_system_performance_settings_alter()
Implements hook_FORM_ID_alter().
File
- ./
file_entity.module, line 2736 - Extends Drupal file entities to be fieldable and viewable.
Code
function file_entity_form_system_performance_settings_alter(&$form, &$form_state) {
$form['bandwidth_optimization']['file_entity_total_count_optimization'] = array(
'#type' => 'checkbox',
'#title' => t('Optimize the calculation of the total usage count of files in the files overview.'),
'#default_value' => variable_get('file_entity_total_count_optimization', FALSE),
'#description' => t('Recommended if the files admin page loads too slowly due to a high number of files.'),
);
}