You are here

function form_builder_block_view in Form Builder 6

Same name and namespace in other branches
  1. 7.2 form_builder.module \form_builder_block_view()
  2. 7 form_builder.module \form_builder_block_view()

Implements hook_block_view().

1 call to form_builder_block_view()
form_builder_block in ./form_builder.module
Implements hook_block().

File

./form_builder.module, line 134
form_builder.module Generic form building framework and user interface.

Code

function form_builder_block_view($delta = '') {
  $block = array();
  if ($delta == 'fields' && form_builder_active_form()) {
    module_load_include('inc', 'form_builder', 'includes/form_builder.admin');
    $block['content'] = form_builder_field_palette();
  }
  return $block;
}