Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 7.35 KB
MD5: f7a182a969ae8576e9cff15d6ea44b72
SHA-1: 2054999082498070667c52e87a2ec479fcf7d0ed
SHA-256: 0cb56d34fcb161bad52b4134f99d9af9ed816cd05abb5a156d823a0ef68354f1
Download zip 8.92 KB
MD5: b32a1fc945c10cb092a309459f1c77b2
SHA-1: 96b9d479efb91942aefb0c464f81ac4c42d55cc5
SHA-256: c09638aa308e3a3bc64d52a9cc0c49a7da1756704e3a7c239fc82dd6d915294f

Release notes

Fixes:
#1148884: Must turn off maintenance_mode to use echo module.
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: 7 May 2011 at 13:27 UTC
Last updated: 1 Aug 2018 at 23:53 UTC
Bug fixes
Insecure
Unsupported

Other releases