summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 2de18d1fe..2a84bffd1 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -3987,6 +3987,8 @@ function element_info($type) {
$cache[$element_type]['#type'] = $element_type;
}
}
+ // Allow modules to alter the element type defaults.
+ drupal_alter('element_info', $cache);
}
return $cache[$type];