public function ConditionalFieldsFormHelper::__construct in Conditional Fields 4.x
Same name and namespace in other branches
- 8 src/ConditionalFieldsFormHelper.php \Drupal\conditional_fields\ConditionalFieldsFormHelper::__construct()
ConditionalFieldsFormHelper constructor.
Parameters
\Drupal\Core\Render\ElementInfoManager $element_info: A form element information manager.
\Drupal\conditional_fields\ConditionalFieldsHandlersManager $type: A manager for conditional fields handlers.
File
- src/
ConditionalFieldsFormHelper.php, line 60
Class
- ConditionalFieldsFormHelper
- Helper to interact with forms.
Namespace
Drupal\conditional_fieldsCode
public function __construct(ElementInfoManager $element_info, ConditionalFieldsHandlersManager $type) {
$this->elementInfo = $element_info;
$this->type = $type;
}