function FormState::moduleLoadInclude
Same name in other branches
- 9 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::moduleLoadInclude()
- 8.9.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::moduleLoadInclude()
- 10 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::moduleLoadInclude()
Wraps ModuleHandler::loadInclude().
1 call to FormState::moduleLoadInclude()
- FormState::loadInclude in core/
lib/ Drupal/ Core/ Form/ FormState.php - Ensures an include file is loaded whenever the form is processed.
File
-
core/
lib/ Drupal/ Core/ Form/ FormState.php, line 1319
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.