Add drupal render function