function hook_modal_ID_alter in Modal 4.1.x
Same name and namespace in other branches
- 4.0.x modal_page.api.php \hook_modal_ID_alter()
Implements hook_modal_ID_alter().
File
- ./
modal_page.api.php, line 19 - Hooks provided by the Modals.
Code
function hook_modal_ID_alter(&$modal, $modal_id) {
$modal
->setLabel('New Title');
$modal
->setBody('New Body');
}