function defaultcontent_node_view in Default Content 7
Same name and namespace in other branches
- 7.2 defaultcontent.module \defaultcontent_node_view()
File
- ./
defaultcontent.module, line 508 - Module file for the Default content module which allow export and import of default content in a Drupal site.
Code
function defaultcontent_node_view($node, $view_mode, $langcode) {
if (module_exists('context') && ($plugin = context_get_plugin('condition', 'defaultcontent'))) {
$plugin
->execute($node);
}
}