function filefield_paths_content_fieldapi in File (Field) Paths 6
Implements hook_content_fieldapi().
File
- ./
filefield_paths.module, line 433 - Contains core functions for the FileField Paths module.
Code
function filefield_paths_content_fieldapi($op, $field) {
switch ($op) {
case 'delete instance':
db_query("DELETE FROM {filefield_paths} WHERE type = '%s' AND field = '%s'", $field['type_name'], $field['field_name']);
break;
}
}