function entity_translation_overview_callback in Entity Translation 7
Calls the appropriate translation overview callback.
1 call to entity_translation_overview_callback()
- entity_translation_overview in ./
entity_translation.admin.inc - Translations overview page callback.
File
- ./
entity_translation.admin.inc, line 409 - The entity translation user interface.
Code
function entity_translation_overview_callback($callback, $args) {
if (module_exists($callback['module'])) {
if (isset($callback['file'])) {
$path = isset($callback['file path']) ? $callback['file path'] : drupal_get_path('module', $callback['module']);
require_once DRUPAL_ROOT . '/' . $path . '/' . $callback['file'];
}
return call_user_func_array($callback['page callback'], $args);
}
}