You are here

function hook_views_atom_render in Views Atom 6

Same name and namespace in other branches
  1. 7 views_atom.api.php \hook_views_atom_render()

Render an entity into XML in Drupal-RDF format.

This hook allows modules to add to the XML representation of an entity.

Parameters

$entity: The entity that is being rendered. In Drupal 6 this is always a node. In Drupal 7, hopefully, it could be any registered entity.

$xml: A SimpleXML object representing the output XML. It will be rendered down into a string later by views_atom.

2 functions implement hook_views_atom_render()

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

content_views_atom_render in ./views_atom.module
Implementation of hook_views_atom_render().
taxonomy_views_atom_render in ./views_atom.module
Implementation of hook_views_atom_render().
1 invocation of hook_views_atom_render()
views_plugin_row_rdf_node::render in views/views_plugin_row_rdf_node.inc

File

./views_atom.api.php, line 46

Code

function hook_views_atom_render($entity, $xml) {
}