You are here

function custom_pub_node_admin_inc_add in Custom Publishing Options 7

Adds the node.admin.inc file when called.

This is generally called from form validate function or build function to ensure the files are always there.

1 call to custom_pub_node_admin_inc_add()
custom_pub_node_admin_content in ./custom_pub.admin.inc
Menu callback: content administration form.
2 string references to 'custom_pub_node_admin_inc_add'
custom_pub_form_alter in ./custom_pub.module
Implements hook_form_alter().
custom_pub_node_admin_content in ./custom_pub.admin.inc
Menu callback: content administration form.

File

./custom_pub.admin.inc, line 437
Admin functions.

Code

function custom_pub_node_admin_inc_add() {
  module_load_include('inc', 'node', 'node.admin');
}