You are here

public function ConfigPagesController::clearConfirmation in Config Pages 8.3

Same name and namespace in other branches
  1. 8 src/Controller/ConfigPagesController.php \Drupal\config_pages\Controller\ConfigPagesController::clearConfirmation()
  2. 8.2 src/Controller/ConfigPagesController.php \Drupal\config_pages\Controller\ConfigPagesController::clearConfirmation()

Presents the config page confirmation form.

Parameters

$config_pages:

Return value

array A form array as expected by drupal_render().

1 string reference to 'ConfigPagesController::clearConfirmation'
config_pages.routing.yml in ./config_pages.routing.yml
config_pages.routing.yml

File

src/Controller/ConfigPagesController.php, line 162

Class

ConfigPagesController
Class ConfigPagesController.

Namespace

Drupal\config_pages\Controller

Code

public function clearConfirmation($config_pages) {
  return \Drupal::formBuilder()
    ->getForm('Drupal\\config_pages\\Form\\ConfigPagesClearConfirmationForm', $config_pages);
}