summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikestefanello2011-08-11 19:29:26 (GMT)
committer mikestefanello2011-08-11 19:29:26 (GMT)
commitb2711f82b4fa29ebd29ee7ff421b64e6af997404 (patch)
tree13347369c3118501f7d4a775a8dd61abdfceb193
parentb7eeaf6fc2dca3ffa6d0872d993a331f11271b8c (diff)
Added views option form definition that was missing.
-rw-r--r--modules/og_subgroups_views/includes/og_subgroups_views_handler_field_children.inc6
-rw-r--r--modules/og_subgroups_views/includes/og_subgroups_views_handler_field_parent.inc6
-rw-r--r--modules/og_subgroups_views/includes/og_subgroups_views_handler_field_parents.inc6
-rw-r--r--modules/og_subgroups_views/includes/og_subgroups_views_handler_field_siblings.inc6
4 files changed, 24 insertions, 0 deletions
diff --git a/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_children.inc b/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_children.inc
index 9c81584..c17c3f7 100644
--- a/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_children.inc
+++ b/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_children.inc
@@ -19,6 +19,12 @@ class og_subgroups_views_handler_field_children extends views_handler_field_prer
'#default_value' => isset($this->options['link']) ? $this->options['link'] : 1,
);
}
+
+ function option_definition() {
+ $options = parent::option_definition();
+ $options['link'] = array('default' => isset($this->definition['link default']) ? $this->definition['link default'] : FALSE);
+ return $options;
+ }
function pre_render($values) {
og_subgroups_include('tree');
diff --git a/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_parent.inc b/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_parent.inc
index 074a475..df7c557 100644
--- a/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_parent.inc
+++ b/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_parent.inc
@@ -18,6 +18,12 @@ class og_subgroups_views_handler_field_parent extends views_handler_field {
);
}
+ function option_definition() {
+ $options = parent::option_definition();
+ $options['link'] = array('default' => isset($this->definition['link default']) ? $this->definition['link default'] : FALSE);
+ return $options;
+ }
+
function render($value) {
og_subgroups_include('tree');
if ($parent = og_subgroups_get_group_parent($value)) {
diff --git a/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_parents.inc b/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_parents.inc
index 667bc1e..1f6fced 100644
--- a/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_parents.inc
+++ b/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_parents.inc
@@ -19,6 +19,12 @@ class og_subgroups_views_handler_field_parents extends views_handler_field_prere
'#default_value' => isset($this->options['link']) ? $this->options['link'] : 1,
);
}
+
+ function option_definition() {
+ $options = parent::option_definition();
+ $options['link'] = array('default' => isset($this->definition['link default']) ? $this->definition['link default'] : FALSE);
+ return $options;
+ }
function pre_render($values) {
og_subgroups_include('tree');
diff --git a/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_siblings.inc b/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_siblings.inc
index a114d8e..cbe00cb 100644
--- a/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_siblings.inc
+++ b/modules/og_subgroups_views/includes/og_subgroups_views_handler_field_siblings.inc
@@ -19,6 +19,12 @@ class og_subgroups_views_handler_field_siblings extends views_handler_field_prer
'#default_value' => isset($this->options['link']) ? $this->options['link'] : 1,
);
}
+
+ function option_definition() {
+ $options = parent::option_definition();
+ $options['link'] = array('default' => isset($this->definition['link default']) ? $this->definition['link default'] : FALSE);
+ return $options;
+ }
function pre_render($values) {
og_subgroups_include('tree');