function _emfield_allow_import in Embedded Media Field 5
1 call to _emfield_allow_import()
- emimport_types_allowing_import in contrib/
emimport/ emimport.module - this returns a list of content types that are allowed to import media sets, and that have providers allowing that
File
- contrib/
emimport/ emimport.module, line 743
Code
function _emfield_allow_import($module, $type, $field, $provider) {
$allow = variable_get('emimport_' . $module . '_allow', TRUE) && variable_get('emimport_' . $module . '_type_allow_' . $type, TRUE) && variable_get('emfield_' . $module . '_allow_' . $provider->name, TRUE);
return $allow;
}