function hook_node_limit_render_element in Node Limit 8
Same name and namespace in other branches
- 7 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 old/
node_limit_interval/ node_limit_interval.module - Implements hook_node_limit_render_element().
File
- old/
node_limit.api.php, line 162 - Node_limit api reference.
Code
function hook_node_limit_render_element(&$element) {
unset($element['submodule']['#title']);
return \Drupal::service('renderer')
->render($element['submodule']);
}