function hook_views_atom_prerender in Views Atom 7
Same name and namespace in other branches
- 6 views_atom.api.php \hook_views_atom_prerender()
Prepare an entity to be rendered into Drupal-RDF.
This hook allows modules to alter an entity to add additional data before it is processed into an XML string in Drupal's custom RDF format. Modifications made to the entity will not be saved (at least not by the views_atom module).
In Drupal 6 the entity will always be a node, but hopefully in Drupal 7 it can become any entity.
Parameters
$entity: The entity to prepare.
1 invocation of hook_views_atom_prerender()
- views_plugin_row_rdf_node::render in ./
views_plugin_row_rdf_node.inc - Render a row object. This usually passes through to a theme template of some form, but not always.
File
- ./
views_atom.api.php, line 16
Code
function hook_views_atom_prerender($entity) {
}