function admin_get_links in Admin 6
Retrieve the admin links for a given object.
3 calls to admin_get_links()
- admin_preprocess_block in ./
admin.module - Implementation of hook_preprocess_block().
- admin_preprocess_node in ./
admin.module - Implementation of hook_preprocess_node().
- admin_preprocess_views_view in ./
admin.module - Implementation of hook_preprocess_views_view().
File
- ./
admin.module, line 288
Code
function admin_get_links($type, $object) {
$links = array();
if (admin_is_enabled('admin inline')) {
$links = module_invoke_all('admin_link', $type, $object);
drupal_alter('admin_link', $links, $type, $object);
}
return $links;
}