public static function PageController::create in Restrict IP 8
Same name and namespace in other branches
- 8.2 src/Controller/PageController.php \Drupal\restrict_ip\Controller\PageController::create()
- 3.x src/Controller/PageController.php \Drupal\restrict_ip\Controller\PageController::create()
*
Overrides ControllerBase::create
File
- src/
Controller/ PageController.php, line 69
Class
Namespace
Drupal\restrict_ip\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container
->get('form_builder'), $container
->get('config.factory'), $container
->get('current_user'), $container
->get('module_handler'));
}