You are here

function mediafront_content_fieldapi in MediaFront 6

Same name and namespace in other branches
  1. 6.2 includes/mediafront.filefield.inc \mediafront_content_fieldapi()

Implementation of hook_content_fieldapi().

File

includes/mediafront.filefield.inc, line 139

Code

function mediafront_content_fieldapi($op, $field) {

  // Delete the mediafront filefield if they delete this field.
  if ($op == 'delete instance') {
    mediafront_filefield_delete($field['type_name'], $field['field_name']);
  }
}