function getdirections_get_enabled_entity_types in Get Directions 7.3
Return fieldable entities
1 call to getdirections_get_enabled_entity_types()
- getdirections_returnlink_settings in ./
getdirections.module - Configure returnlinks
File
- ./
getdirections.module, line 2971 - Fetches google map directions.
Code
function getdirections_get_enabled_entity_types() {
$entity_types = array();
$fieldables = getdirections_get_fieldable_entity_types();
foreach ($fieldables as $entity_type) {
if (getdirections_check_entity_type($entity_type)) {
$entity_types[] = $entity_type;
}
}
return $entity_types;
}