You are here

public function ForcePasswordChangeController::adminPage in Force Password Change 8

Same name and namespace in other branches
  1. 2.0.x src/Controller/ForcePasswordChangeController.php \Drupal\force_password_change\Controller\ForcePasswordChangeController::adminPage()

Overrides ForcePasswordChangeControllerInterface::adminPage

1 string reference to 'ForcePasswordChangeController::adminPage'
force_password_change.routing.yml in ./force_password_change.routing.yml
force_password_change.routing.yml

File

src/Controller/ForcePasswordChangeController.php, line 105

Class

ForcePasswordChangeController

Namespace

Drupal\force_password_change\Controller

Code

public function adminPage() {
  $page = array(
    '#prefix' => '<div id="force_password_change_admin_page">',
    '#suffix' => '</div>',
    'form' => $this->formBuilder
      ->getForm('Drupal\\force_password_change\\Form\\AdminForm'),
  );
  return $page;
}