1); } } /** * Implements hook_boxes_plugins(). */ function views_boxes_boxes_plugins() { $info = array(); $path = drupal_get_path('module', 'views_boxes') . '/plugins'; $info['view'] = array( 'title' => 'View Box', 'handler' => array( 'parent' => 'box', 'class' => 'views_boxes_view', 'file' => 'views_boxes_view.inc', 'path' => $path, ), ); return $info; } function views_boxes_view_id_callback($form, $form_state) { $key = $form_state['clicked_button']['#key']; $return['settings'] = $form['options']['settings']["{$key}_group"]; return $return; } function views_boxes_view_settings_callback($form, $form_state) { $return['settings'] = array( '#type' => 'fieldset', '#title' => 'Settings', '#prefix' => '