Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
These came up when reviewing #1804394: convert file.module variables to CMI. I can't understand why they're there.
$element['description'] = array(
- '#type' => variable_get('file_description_type', 'textfield'),
+ '#type' => $config->get('description.type'),
'#title' => t('Description'),
'#value' => isset($item['description']) ? $item['description'] : '',
- '#maxlength' => variable_get('file_description_length', 128),
+ '#maxlength' => $config->get('description.length'),
Comments
Comment #1
malcomio CreditAttribution: malcomio commentedCan't see these in file.module any more