public function JquerySocialStreamBean::form in jQuery social stream 7
Same name and namespace in other branches
- 7.2 plugins/bean/jquery_social_stream.inc \JquerySocialStreamBean::form()
Builds extra settings for the block edit form.
Overrides BeanPlugin::form
File
- plugins/
bean/ jquery_social_stream.inc, line 22 - jQuery social stream bean plugin.
Class
- JquerySocialStreamBean
- @file jQuery social stream bean plugin.
Code
public function form($bean, $form, &$form_state) {
$form = array();
$form['settings'] = array(
'#type' => 'fieldset',
'#tree' => TRUE,
'#title' => t('Options'),
);
$form['settings']['conf'] = jquery_social_stream_settings_form(isset($bean->settings['conf']) ? $bean->settings['conf'] : array());
return $form;
}