You are here

function hook_favicon_file_alter in Favicon 7.2

Alter the favicon file object after it has been validated.

Parameters

object $file: A file object with the following properties defined: uri, filesize, and filemime.

See also

DrupalFavicon::getFileFromUri()

1 invocation of hook_favicon_file_alter()
DrupalFavicon::getFileFromUri in src/DrupalFavicon.php
Convert a URI into a file object.

File

./favicon.api.php, line 34
API integration for the Favicon module.

Code

function hook_favicon_file_alter($file) {

  // @todo Document
}