interface WebformEntityConditionsManagerInterface in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformEntityConditionsManagerInterface.php \Drupal\webform\WebformEntityConditionsManagerInterface
Provides an interface defining a webform conditions (#states) manager.
Hierarchy
- interface \Drupal\webform\WebformEntityConditionsManagerInterface
Expanded class hierarchy of WebformEntityConditionsManagerInterface
All classes that implement WebformEntityConditionsManagerInterface
File
- src/
WebformEntityConditionsManagerInterface.php, line 8
Namespace
Drupal\webformView source
interface WebformEntityConditionsManagerInterface {
/**
* Convert a webform's #states to a human read-able format.
*
* @param \Drupal\webform\WebformInterface $webform
* A webform.
* @param array $states
* An element's #states array.
* @param array $options
* An associative array of configuration options.
*
* @return array
* A renderable array containing the webform's #states displayed in
* a human read-able format.
*/
public function toText(WebformInterface $webform, array $states, array $options = []);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WebformEntityConditionsManagerInterface:: |
public | function | Convert a webform's #states to a human read-able format. | 1 |