You are here

function widgets_get_default in Widgets 6

Get default set of widgets for node type.

 

Parameters

$type: The node type name.

1 call to widgets_get_default()
widgets_block_content in ./widgets.block.inc
Assemble block content.

File

./widgets.inc, line 61
Implementaion of custom functions for Widgets module.

Code

function widgets_get_default($type) {
  return variable_get("widgets_default_{$type}", array());
}