You are here

function filefield_source_remote_settings in FileField Sources 7

Same name and namespace in other branches
  1. 6 sources/remote.inc \filefield_source_remote_settings()

Implements hook_filefield_source_settings().

File

sources/remote.inc, line 63
A FileField extension to allow referencing of existing files.

Code

function filefield_source_remote_settings($op, $instance) {
  $return = array();

  // Add settings to the FileField widget form.
  if (!filefield_sources_curl_enabled()) {
    drupal_set_message(t('<strong>Filefield sources:</strong> remote plugin will be disabled without php-curl extension.'), 'warning');
  }
  return $return;
}