public function ConditionalFieldsHandlersPluginInterface::statesHandler in Conditional Fields 4.x
Same name and namespace in other branches
- 8 src/ConditionalFieldsHandlersPluginInterface.php \Drupal\conditional_fields\ConditionalFieldsHandlersPluginInterface::statesHandler()
Executes states handler according to conditional fields settings.
15 methods override ConditionalFieldsHandlersPluginInterface::statesHandler()
- Checkbox::statesHandler in src/
Plugin/ conditional_fields/ handler/ Checkbox.php - @todo Different handlers for boolean and list fields.
- DateDefault::statesHandler in src/
Plugin/ conditional_fields/ handler/ DateDefault.php - Executes states handler according to conditional fields settings.
- DateList::statesHandler in src/
Plugin/ conditional_fields/ handler/ DateList.php - Executes states handler according to conditional fields settings.
- DefaultStateHandler::statesHandler in src/
Plugin/ conditional_fields/ handler/ DefaultStateHandler.php - Executes states handler according to conditional fields settings.
- EmailDefault::statesHandler in src/
Plugin/ conditional_fields/ handler/ EmailDefault.php - Executes states handler according to conditional fields settings.
File
- src/
ConditionalFieldsHandlersPluginInterface.php, line 13
Class
- ConditionalFieldsHandlersPluginInterface
- Defines the required interface for all conditional field's handler plugins.
Namespace
Drupal\conditional_fieldsCode
public function statesHandler($field, $field_info, $options);