function EntityFormInterface::setModuleHandler
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityFormInterface.php \Drupal\Core\Entity\EntityFormInterface::setModuleHandler()
- 8.9.x core/lib/Drupal/Core/Entity/EntityFormInterface.php \Drupal\Core\Entity\EntityFormInterface::setModuleHandler()
- 10 core/lib/Drupal/Core/Entity/EntityFormInterface.php \Drupal\Core\Entity\EntityFormInterface::setModuleHandler()
Sets the module handler for this form.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
Return value
$this
3 methods override EntityFormInterface::setModuleHandler()
- EntityForm::setModuleHandler in core/
lib/ Drupal/ Core/ Entity/ EntityForm.php - RevisionDeleteForm::setModuleHandler in core/
lib/ Drupal/ Core/ Entity/ Form/ RevisionDeleteForm.php - RevisionRevertForm::setModuleHandler in core/
lib/ Drupal/ Core/ Entity/ Form/ RevisionRevertForm.php
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityFormInterface.php, line 126
Class
- EntityFormInterface
- Defines an interface for entity form classes.
Namespace
Drupal\Core\EntityCode
public function setModuleHandler(ModuleHandlerInterface $module_handler);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.