public function EntityReference::getWidgetValue in Conditional Fields 4.x
Same name and namespace in other branches
- 8 src/Plugin/conditional_fields/handler/EntityReference.php \Drupal\conditional_fields\Plugin\conditional_fields\handler\EntityReference::getWidgetValue()
Get values from widget settings for plugin.
Parameters
array $value_form: Dependency options.
Return value
mixed Values for triggering events.
Overrides ConditionalFieldsHandlerBase::getWidgetValue
1 call to EntityReference::getWidgetValue()
- EntityReference::statesHandler in src/
Plugin/ conditional_fields/ handler/ EntityReference.php - Executes states handler according to conditional fields settings.
File
- src/
Plugin/ conditional_fields/ handler/ EntityReference.php, line 85
Class
- EntityReference
- Provides states handler for entity reference fields.
Namespace
Drupal\conditional_fields\Plugin\conditional_fields\handlerCode
public function getWidgetValue(array $value_form) {
return $value_form;
}