Here we define a constant for our node access grant ID, for the node_access_example_view and node_access_example_edit realms. This ID could be any integer, but here we choose 23, because it is this author's favorite number.

Related topics

File

modules/examples/node_access_example/node_access_example.module, line 232
Module file illustrating API-based node access.

Code

define('NODE_ACCESS_EXAMPLE_GRANT_ALL', 23)