You are here

function _coder_6x_node_access_rebuild_warning in Coder 6

Same name and namespace in other branches
  1. 5.2 includes/coder_6x.inc \_coder_6x_node_access_rebuild_warning()
  2. 6.2 includes/coder_6x.inc \_coder_6x_node_access_rebuild_warning()
1 string reference to '_coder_6x_node_access_rebuild_warning'
coder_6x_reviews in includes/coder_6x.inc
Implementation of hook_reviews().

File

includes/coder_6x.inc, line 906
This include file implements coder functionality for 5.x -> 6.x upgrades.

Code

function _coder_6x_node_access_rebuild_warning() {
  return array(
    '#warning' => t('!node_access_rebuild() should not be called from !hook_enable() or !hook_disable() functions any more.', array(
      '!node_access_rebuild' => theme('drupalapi', 'node_access_rebuild', '6'),
      '!hook_enable' => theme('drupalapi', 'hook_enable', '6'),
      '!hook_disable' => theme('drupalapi', 'hook_disable', '6'),
    )),
    '#link' => 'http://drupal.org/node/114774#node_access_rebuild_batch',
  );
}