function nodeblock_type_node_link in Nodeblock 7
Utility function to retrieve default node link setting.
3 calls to nodeblock_type_node_link()
- nodeblock_block_view in ./
nodeblock.module - Implements hook_block_view().
- nodeblock_form_node_type_form_alter in ./
nodeblock.module - Implements hook_form_node_type_form_alter().
- _nodeblock_defaults in ./
nodeblock.module - Returns an array with default nodeblock settings for a node.
File
- ./
nodeblock.module, line 49 - Enables use of specified node types as custom blocks.
Code
function nodeblock_type_node_link($type) {
return variable_get('nodeblock_node_link_' . $type, 0);
}