You are here

function amazons3_file_like_field in AmazonS3 7.2

Return an array of field types that are like a file field.

If a field type is calling file_* hooks to create it's field, it likely belongs here.

Return value

array An array of field types.

3 calls to amazons3_file_like_field()
amazons3_field_info_alter in ./amazons3.module
Implements hook_field_info_alter().
amazons3_field_widget_form_alter in ./amazons3.module
Implements hook_field_widget_form_alter().
_amazons3_field_configuration in ./amazons3.module
Add S3 configuration to file field settings forms.

File

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

Code

function amazons3_file_like_field() {
  return array(
    'file',
    'image',
  );
}