function node_views_query_substitutions

Same name in other branches
  1. 7.x-3.x modules/node.views.inc \node_views_query_substitutions()

Implementation of hook_views_query_substitutions().

Related topics

File

modules/node.views.inc, line 868

Code

function node_views_query_substitutions() {
    return array(
        '***ADMINISTER_NODES***' => intval(user_access('administer nodes')),
    );
}