You are here

public function EntityReference::getWidgetValue in Conditional Fields 8

Same name and namespace in other branches
  1. 4.x 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 84

Class

EntityReference
Provides states handler for entity reference fields.

Namespace

Drupal\conditional_fields\Plugin\conditional_fields\handler

Code

public function getWidgetValue(array $value_form) {
  return $value_form;
}