Let's check if this node type contains an image field.
Parameters
string $node_type: The content type to process.
Return value
bool
1 call to _exif_check_for_exif_data()
- _exif_node_insert_update in ./
exif.module - Main entrypoint of the module.
File
-
./
exif.module, line 492
Code
function _exif_check_for_exif_data($node_type) {
$new_types = array();
// Fill up array with checked nodetypes.
foreach (variable_get('exif_nodetypes', array()) as $type) {
if ($type != "0") {
$new_types[] = $type;
}
}
foreach (variable_get('exif_mediatypes', array()) as $type) {
if ($type != "0") {
$new_types[] = $type;
}
}
if (in_array($node_type, $new_types)) {
return TRUE;
}
return FALSE;
}