You are here

function modalframe_example_hello_world in Modal Frame API 7

Same name and namespace in other branches
  1. 6 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 101
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!');
}