Install
Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
7.35 KB
MD5: e20a94d7efc3bee351d46ec33da2ffbf
SHA-1: dab301bc37ed93b68a311fbc3cace0c21319bda8
SHA-256: f672dceeecd31826b1d81a31d679fff28f7d65b46f4fdfa0ab449fe2adc3d0f3
Download zip
8.92 KB
MD5: 0c973e3fd2d622c178c8b028d82db5b9
SHA-1: b9714b08d5f2ba17df43a8bf44718e3900bf0a18
SHA-256: 9d905aa1f180bed801f8ccb8f3c2d981a1485a87e46c2cbf9d662ece18c669bf
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.