public function Conditions::__construct in Conditional Fields 8
Same name and namespace in other branches
- 4.x 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;
}