public function PageController::configPage in Restrict IP 8
Same name and namespace in other branches
- 8.2 src/Controller/PageController.php \Drupal\restrict_ip\Controller\PageController::configPage()
- 3.x src/Controller/PageController.php \Drupal\restrict_ip\Controller\PageController::configPage()
*
Overrides PageControllerInterface::configPage
1 string reference to 'PageController::configPage'
File
- src/
Controller/ PageController.php, line 83
Class
Namespace
Drupal\restrict_ip\ControllerCode
public function configPage() {
$page = [
'#prefix' => '<div id="restrict_ip_config_page">',
'#suffix' => '</div.',
'form' => $this->formBuilder
->getForm('\\Drupal\\restrict_ip\\Form\\ConfigForm'),
];
return $page;
}