summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rozas2012-11-15 15:43:00 (GMT)
committer David Rozas2012-11-15 15:43:00 (GMT)
commit7641bb808d1ede083075b9cb57f8aaf3d71ffc3a (patch)
tree7b18e6dc6c35cd927c6832c4613510947f7eb8ad
parentc9b227dd4cb459e3bfce4a165934f66b5dd3277f (diff)
Marking all the config fields as required7.x-1.6
-rw-r--r--fb_likebox.module5
1 files changed, 5 insertions, 0 deletions
diff --git a/fb_likebox.module b/fb_likebox.module
index f730bfb..1d12cd9 100644
--- a/fb_likebox.module
+++ b/fb_likebox.module
@@ -48,6 +48,7 @@ function fb_likebox_block_configure($delta = '') {
'dark' => t('Dark'),
),
'#description' => t("The color scheme for the plugin. Options: 'light', 'dark'"),
+ '#required' => TRUE,
);
$form['fb_likebox_display_settings']['fb_likebox_header'] = array(
'#type' => 'select',
@@ -58,6 +59,7 @@ function fb_likebox_block_configure($delta = '') {
'true' => t('Yes'),
),
'#description' => t('Specifies whether to display the Facebook header at the top of the plugin'),
+ '#required' => TRUE,
);
$form['fb_likebox_display_settings']['fb_likebox_stream'] = array(
'#type' => 'select',
@@ -68,6 +70,7 @@ function fb_likebox_block_configure($delta = '') {
'true' => t('Yes'),
),
'#description' => t("Specifies whether to display a stream of the latest posts from the Page's wall"),
+ '#required' => TRUE,
);
$form['fb_likebox_display_settings']['fb_likebox_show_faces'] = array(
'#type' => 'select',
@@ -78,6 +81,7 @@ function fb_likebox_block_configure($delta = '') {
'true' => t('Yes'),
),
'#description' => t('Specifies whether or not to display profile photos in the plugin.'),
+ '#required' => TRUE,
);
$form['fb_likebox_display_settings']['fb_likebox_scrolling'] = array(
'#type' => 'select',
@@ -88,6 +92,7 @@ function fb_likebox_block_configure($delta = '') {
'yes' => t('Enabled'),
),
'#description' => t('Enables vertical scrolling'),
+ '#required' => TRUE,
);
// Theming settings.
$form['fb_likebox_theming_settings']['fb_likebox_width'] = array(