function pathauto_i18n_load_settings in Pathauto i18n 8
Same name and namespace in other branches
- 7 pathauto_i18n.module \pathauto_i18n_load_settings()
Load settings for entity.
3 calls to pathauto_i18n_load_settings()
- pathauto_i18n_node_node_load in modules/
pathauto_i18n_node/ pathauto_i18n_node.module - Implements hook_node_load().
- pathauto_i18n_taxonomy_taxonomy_term_load in modules/
pathauto_i18n_taxonomy/ pathauto_i18n_taxonomy.module - Implements hook_taxonomy_term_load().
- pathauto_i18n_user_user_load in modules/
pathauto_i18n_user/ pathauto_i18n_user.module - Implements hook_user_load().
File
- ./
pathauto_i18n.module, line 148 - Provides common functions and callbacks for pathauto_i18n submodules.
Code
function pathauto_i18n_load_settings($ids, $entity_type) {
return db_select('pathauto_i18n', 'p')
->fields('p', array(
'entity_id',
'path_status',
))
->condition('p.entity_id', $ids, 'IN')
->condition('p.entity_type', $entity_type)
->execute();
}