You are here

function hook_node_limit_render_element in Node Limit 7

Same name and namespace in other branches
  1. 8 old/node_limit.api.php \hook_node_limit_render_element()

Special render for special elements.

Called if the element returned from hook_node_limit_element has '#custom_render' => true.

Parameters

object $element: The element.

Return value

string Rendered HTML.

1 function implements hook_node_limit_render_element()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

node_limit_interval_node_limit_render_element in node_limit_interval/node_limit_interval.module
Implements hook_node_limit_render_element().

File

./node_limit.api.php, line 156
Node_limit api reference.

Code

function hook_node_limit_render_element(&$element) {
  unset($element['submodule']['#title']);
  return drupal_render($element['submodule']);
}