Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
This module creates a "fake" set of tabs". Like om_me, this is a less Drupal approach to navigation but makes more sense to end users. om_navigation provides a hook that can be leveraged with the same page callbacks and access checks as traditional MENU_LOCAL calls. Call to these hooks have been added to most of the Open Media modules (om_show, om_project, om_me, and MERCI)
/**
* om_navigation_om_navigation_items function.
* Sample implementation of hook_om_navigation_items
* @access public
* @param mixed $context
* @return void
*/
function om_project_om_navigation_items($context) {
$items = array();
$items['normal'][1] = array(
'zone' => 'public',
'status' => 'om_project_manage_access',
'value' => 'om_project_list_members',
'label' => 'Members',
'path' => 'project-manage-list-members',
'weight' => 9,
);
return $items;
}
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - No further development
No longer developed by its maintainers. - Created by kreynen on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.