function ContactController::create
Same name in other branches
- 8.9.x core/modules/contact/src/Controller/ContactController.php \Drupal\contact\Controller\ContactController::create()
Overrides ControllerBase::create
File
-
core/
modules/ contact/ src/ Controller/ ContactController.php, line 38
Class
- ContactController
- Controller routines for contact routes.
Namespace
Drupal\contact\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container->get('renderer'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.