You are here

function modalframe_example_hello_world in Modal Frame API 6

Same name and namespace in other branches
  1. 7 modules/modalframe_example/modalframe_example.module \modalframe_example_hello_world()

Menu callback; Hello world example.

1 string reference to 'modalframe_example_hello_world'
modalframe_example_menu in modules/modalframe_example/modalframe_example.module
Implementation of hook_menu().

File

modules/modalframe_example/modalframe_example.module, line 96
Example for the Modal Frame module.

Code

function modalframe_example_hello_world() {

  // Send the Modal Frame javascript for child windows to the page.
  modalframe_child_js();

  // Render the page contents.
  return t('Hello, world!');
}