You are here

function apachesolr_access_node_insert in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr_access/apachesolr_access.module \apachesolr_access_node_insert()
  2. 6.3 apachesolr_access/apachesolr_access.module \apachesolr_access_node_insert()

Implements hook_node_insert().

hook_node_ACTION() is called before hook_node_access_records() in node_save().

Parameters

object $node:

File

apachesolr_access/apachesolr_access.module, line 113

Code

function apachesolr_access_node_insert($node) {
  $node->apachesolr_access_node_ignore = 1;
}