Provides automatic modal support for any hook_menu() paths that have 'modal' => TRUE defined. This makes it easy to add optional modal support in any contrib module and helps reduce the burden on module developers to support modals.
Usage
function mymodule_menu() {
$items['mymodule/form'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array('mymodule_form'),
'access arguments' => array('administer mymodule'),
'modal' => TRUE, // This line is where the magic happens.
);
}
That's it!
Requirements
Known issues
- None as of yet.
Similar modules
- Dialog - Still requires significant coding to support. For example, the entire Filter tips dialog module can be replaced by just using
$items['filter/tips']['modal'] = TRUEin hook_menu_alter(). - Automodal
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.356 sites report using this module
- Created by dave reid on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

