class crumbs_Admin_ElementObject_WeightsAbstract in Crumbs, the Breadcrumbs suite 7.2
Hierarchy
Expanded class hierarchy of crumbs_Admin_ElementObject_WeightsAbstract
File
- lib/
Admin/ ElementObject/ WeightsAbstract.php, line 3
View source
class crumbs_Admin_ElementObject_WeightsAbstract extends crumbs_Admin_ElementObject_Abstract {
/**
* Callback for $element['#element_validate']
*
* @param array $element
* @param array $form_state
*
* @return bool|void
*/
function validate(&$element, &$form_state) {
// We need to unset the NULL values from child elements we created.
$weights = $element['#value'];
form_set_value($element, $weights, $form_state);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
crumbs_Admin_ElementObject_Abstract:: |
function | |||
crumbs_Admin_ElementObject_Abstract:: |
function | |||
crumbs_Admin_ElementObject_Abstract:: |
function | 3 | ||
crumbs_Admin_ElementObject_Abstract:: |
function | 3 | ||
crumbs_Admin_ElementObject_Abstract:: |
function | |||
crumbs_Admin_ElementObject_WeightsAbstract:: |
function |
Callback for $element['#element_validate'] Overrides crumbs_Admin_ElementObject_Abstract:: |