Install

Using Composer to manage Drupal site dependencies

Alternative installation files

Download echo-8.x-1.5.tar.gztar.gz 7.27 KB
MD5: 6388576a93cc61da7dc9294c5c7b2b50
SHA-1: 99e3a7c1fe82c50d92274a549ddaef2b3160d53e
SHA-256: a2890a67a640aedc9c88582656f52462012fd38740be75bbaecbd0dd4b27b2ee
Download echo-8.x-1.5.zipzip 8.84 KB
MD5: 64706009ed5ea94aaca231189083900c
SHA-1: 3d30532e374efbc7a49048decf7b237c546cc94d
SHA-256: 982f512a276b33748adeffbcfefe200ad2ac6c5efeb84a131682ab7915fd864e

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: 18 Apr 2011 at 21:54 UTC
Last updated: 2 Aug 2018 at 04:56 UTC
Insecure

Other releases