You are here

function favicon_deliver_favicon_file in Favicon 7.2

Delivery callback; send the favicon file through configured delivery method.

Parameters

object $file: The favicon file object.

1 string reference to 'favicon_deliver_favicon_file'
favicon_menu in ./favicon.module
Implements hook_menu().

File

./favicon.module, line 85
Module file for favicon module.

Code

function favicon_deliver_favicon_file($file) {

  // Drupal doesn't support static class methods as delivery callbacks, so
  // we just need to use a wrapper here.
  $callback = variable_get('favicon_delivery_callback', 'DrupalFavicon::deliverFileTransfer');
  call_user_func($callback, $file);
}