interface ConditionalFieldsHandlersPluginInterface in Conditional Fields 8
Same name and namespace in other branches
- 4.x src/ConditionalFieldsHandlersPluginInterface.php \Drupal\conditional_fields\ConditionalFieldsHandlersPluginInterface
Defines the required interface for all conditional field's handler plugins.
Hierarchy
- interface \Drupal\conditional_fields\ConditionalFieldsHandlersPluginInterface
Expanded class hierarchy of ConditionalFieldsHandlersPluginInterface
All classes that implement ConditionalFieldsHandlersPluginInterface
File
- src/
ConditionalFieldsHandlersPluginInterface.php, line 8
Namespace
Drupal\conditional_fieldsView source
interface ConditionalFieldsHandlersPluginInterface {
/**
* Executes states handler according to conditional fields settings.
*/
public function statesHandler($field, $field_info, $options);
/**
* Get values from widget settings for plugin.
*
* @param array $value_form
* Dependency options.
*
* @return mixed
* Values for triggering events.
*/
public function getWidgetValue(array $value_form);
/**
* Get values form the condition options
*
* @param array $options
* The condition options or the array of values
*
* @return mixed
* Values for triggering events.
*/
public function getConditionValues(array $options);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConditionalFieldsHandlersPluginInterface:: |
public | function | Get values form the condition options | 1 |
ConditionalFieldsHandlersPluginInterface:: |
public | function | Get values from widget settings for plugin. | 1 |
ConditionalFieldsHandlersPluginInterface:: |
public | function | Executes states handler according to conditional fields settings. | 15 |