You are here

function video_field_insert in Video 7

Same name and namespace in other branches
  1. 7.2 video.field.inc \video_field_insert()

Implements hook_field_insert().

File

./video.field.inc, line 147
Implement an video field, based on the file module's file field.

Code

function video_field_insert($entity_type, $entity, $field, $instance, $langcode, &$items) {
  file_field_insert($entity_type, $entity, $field, $instance, $langcode, $items);

  // calling function to handle conversion when auto conversion is enabled
  _video_field_file_autoconversion($entity_type, $entity, $field, $instance, $langcode, $items);
}