Install
Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
7.64 KB
MD5: 1653d9808b6fdc3478569f6b71e4b9c9
SHA-1: b131642fd653adfdfe2b925da1956aba65fc0cd8
SHA-256: df3474b35fe4eca6d3b04586ed68226defed465494561ab40fb379a3b3bff546
Download zip
9.24 KB
MD5: cce7776e38527f8245e0c4e93c8130c0
SHA-1: 106aa02b87a91108bd2a03af379a7afc4aab725c
SHA-256: 2ef043762b506fce764e178f82c49fc053c0e71a6dc90fdbca871cacc8e70140
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
-
$titleThe text to display as the page title. -
$contentThe text to display in the main page content region. -
$themeThe machine-readable name of the theme to use. - Return value
-
A string containing the fully-themed page.