function render

cis7 render(&$element)
cle7 render(&$element)
elmsmedia7 render(&$element)
icor7 render(&$element)
meedjum_blog7 render(&$element)
mooc7 render(&$element)

Renders an element.

This function renders an element using drupal_render(). The top level element is shown with show() before rendering, so it will always be rendered even if hide() had been previously used on it.


$element: The element to be rendered.

Return value

The rendered element.

See also




168 calls to render()
accessibility-test.tpl.php in sites/all/modules/ulmus/accessibility/accessibility-test.tpl.php
A basic template for model entities
adaptivetheme_process_node in sites/all/themes/ulmus/adaptivetheme/at_core/inc/
Process variables for node.tpl.php
block--actions.tpl.php in sites/all/themes/ulmus/aurora/templates/blockify/block--actions.tpl.php
block--logo.tpl.php in sites/all/themes/ulmus/aurora/templates/blockify/block--logo.tpl.php
block.tpl.php in modules/block/block.tpl.php
Default theme implementation to display a block.

... See full list

16 string references to 'render'
cis_shortcodes_entity_view in sites/all/modules/elmsln_contrib/cis_connector/modules/cis_shortcodes/cis_shortcodes.module
Implements hook_entity_view().
ctools_content_process in sites/all/modules/ulmus/ctools/includes/
Provide defaults for a content type.
hook_batch_alter in modules/system/system.api.php
Alter batch information before a batch is processed. in sites/all/modules/ulmus/ctools/page_manager/plugins/task_handlers/
This is the task handler plugin to handle generating 403, 404 and 301 response codes.
media_browser_form_submit in sites/all/modules/ulmus/media/media.module
Submit handler; direction form submissions in the media browser.

... See full list


includes/, line 5988
Common functions that many Drupal modules will need to reference.


function render(&$element) {
  if (is_array($element)) {
    return drupal_render($element);
  else {
    // Safe-guard for inappropriate use of render() on flat variables: return
    // the variable as-is.
    return $element;