Downloads

Download tar.gz 7.32 KB
MD5: daae825ce4b851f1dc7b3fa7120862ae
SHA-1: f6c920ef18da56f53475d66618a06264b79d92f7
SHA-256: d3e2236a066ba18e5000a2095614da447b2e4648cefb49ed227250ecd70eb503
Download zip 8.9 KB
MD5: 5ae1a32d6f37f7accf5a201b222f876f
SHA-1: c235b7b46812eb55fffdf0d2bf0f12d326e15e75
SHA-256: 98cc70f0927ebcdc146d8dd9b81816055b68036c58b21b40e5160d6ec6f56227

Release notes

Echo

Wraps content in a themed webpage.

This very simple module contains only one externally useful function:

echo_themed_page($title, $content, $theme)

Returns a page themed for the anonymous user.

Generates the text of a fully-themed Drupal page. The rendered page is returned as a text string instead of being sent to the browser. The theme system can thus be used to style any HTML message as if it had been generated by the live website.

Parameters

$title The text to display as the page title.

$content The text to display in the main page content region.

$theme The machine-readable name of the theme to use.

Return value

A string containing the fully-themed page.

Created by: pillarsdotnet
Created on: 15 Apr 2011 at 20:14 UTC
Last updated: 1 Aug 2018 at 22:49 UTC
Insecure
Unsupported

Other releases