You are here

function internal_nodes_get_actions in Internal Nodes 7

Lists the available view denied actions.

3 calls to internal_nodes_get_actions()
internal_nodes_add_action in ./internal_nodes.module
Adds the action and redirect fields.
internal_nodes_form_node_form_alter in ./internal_nodes.module
Implements hook_form_FORM_ID_alter() for the node form.
internal_nodes_node_view in ./internal_nodes.module
Implements hook_node_view().

File

./internal_nodes.module, line 43
Internal nodes

Code

function internal_nodes_get_actions() {
  return array(
    INTERNAL_NODES_FOUND => t('Allow'),
    INTERNAL_NODES_ACCESS_DENIED => t('Access denied - 403'),
    INTERNAL_NODES_NOT_FOUND => t('Not Found - 404'),
    INTERNAL_NODES_REDIRECT => t('Redirect - 301'),
  );
}