function mediafront_filefield_delete in MediaFront 7
Same name and namespace in other branches
- 6.2 includes/mediafront.filefield.inc \mediafront_filefield_delete()
- 6 includes/mediafront.filefield.inc \mediafront_filefield_delete()
Deletes a mediafront filefield entry
1 call to mediafront_filefield_delete()
File
- includes/
mediafront.filefield.inc, line 26
Code
function mediafront_filefield_delete($entity, $bundle, $field_name) {
db_delete('mediafront_filefield')
->condition('entity', $entity)
->condition('bundle', $bundle)
->condition('field_name', $field_name)
->execute();
}