function hook_eck_property_widget_WIDGET_TYPE_form in Entity Construction Kit (ECK) 7.3
Alters the property widget form. Called for the specific WIDGET_TYPE widget.
Parameters
array $element: A reference to the property widget's form element.
array $form_state: A reference to the current state of the form.
array $context: An array containing contextual information: 'form': the parent form. Could be the entity form, the widget settings form, etc. 'property_name': The machine name of the property for which to retreive the widget form. 'bundle_property_config': The bundle's configuration setting stored for the property. Contains all of the widget's settings and default info for the property. 'langcode': The current language. 'value': The property's current value to use in the widget.
1 function implements hook_eck_property_widget_WIDGET_TYPE_form()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- eck_eck_property_widget_settings_form in ./
eck.property_widgets.inc - Implements hook_eck_property_widget_settings_form().
File
- ./
eck.api.php, line 153 - ECK's API documentation.
Code
function hook_eck_property_widget_WIDGET_TYPE_form(&$element, $form_state, $context) {
}