You are here

function oembed_file_operation_info in oEmbed 7

Same name and namespace in other branches
  1. 8 oembed.file.inc \oembed_file_operation_info()
  2. 7.0 oembed.file.inc \oembed_file_operation_info()

Implements hook_file_operations().

File

./oembed.file.inc, line 57

Code

function oembed_file_operation_info() {
  $operations = array(
    'refresh' => array(
      'label' => t('Refresh from source'),
      'callback' => 'oembed_cache_clear',
    ),
  );
  return $operations;
}