public function Conditions::__construct in Conditional Fields 4.x
Same name and namespace in other branches
- 8 src/Conditions.php \Drupal\conditional_fields\Conditions::__construct()
The construct method.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The manages modules.
File
- src/
Conditions.php, line 28
Class
- Conditions
- Provide conditional field's lists.
Namespace
Drupal\conditional_fieldsCode
public function __construct(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
}