You are here

function amazons3_field_info_alter in AmazonS3 7.2

Implements hook_field_info_alter().

File

./amazons3.module, line 337
Hook implementations for the AmazonS3 module.

Code

function amazons3_field_info_alter(&$info) {
  foreach (amazons3_file_like_field() as $type) {

    // Use the default bucket as specified in the module configuration.
    if (isset($info[$type])) {
      $info[$type]['settings']['amazons3_bucket'] = variable_get('amazons3_bucket', '');
    }
  }
}