protected function FormState::moduleLoadInclude in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::moduleLoadInclude()
- 9 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::moduleLoadInclude()
Wraps ModuleHandler::loadInclude().
File
- core/
lib/ Drupal/ Core/ Form/ FormState.php, line 1258
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
protected function moduleLoadInclude($module, $type, $name = NULL) {
return \Drupal::moduleHandler()
->loadInclude($module, $type, $name);
}