function pathauto_form_file_entity_edit_alter

cis7 file_entity.module pathauto_form_file_entity_edit_alter(&$form, &$form_state, $form_id)
cle7 file_entity.module pathauto_form_file_entity_edit_alter(&$form, &$form_state, $form_id)
elmsmedia7 file_entity.module pathauto_form_file_entity_edit_alter(&$form, &$form_state, $form_id)
icor7 file_entity.module pathauto_form_file_entity_edit_alter(&$form, &$form_state, $form_id)
meedjum_blog7 file_entity.module pathauto_form_file_entity_edit_alter(&$form, &$form_state, $form_id)
mooc7 file_entity.module pathauto_form_file_entity_edit_alter(&$form, &$form_state, $form_id)

Implements hook_form_FORM_ID_alter() on behalf of pathauto.module.

Add the Pathauto settings to the file form.

File

sites/all/modules/ulmus/file_entity/file_entity.module, line 2259
Extends Drupal file entities to be fieldable and viewable.

Code

function pathauto_form_file_entity_edit_alter(&$form, &$form_state, $form_id) {
  $file = $form_state['file'];
  $langcode = pathauto_entity_language('file', $file);
  pathauto_field_attach_form('file', $file, $form, $form_state, $langcode);
}