You are here

function pathauto_file_insert in File Entity (fieldable files) 7.3

Same name and namespace in other branches
  1. 7.2 file_entity.module \pathauto_file_insert()

Implements hook_file_insert() on behalf of pathauto.module.

File

./file_entity.module, line 2354
Extends Drupal file entities to be fieldable and viewable.

Code

function pathauto_file_insert($file) {
  pathauto_file_update_alias($file, 'insert');
}