You are here

public static function UserCsvImportController::importPage in User CSV import 2.0.x

Same name and namespace in other branches
  1. 8 src/Controller/UserCsvImportController.php \Drupal\user_csv_import\Controller\UserCsvImportController::importPage()
  2. 1.0.x src/Controller/UserCsvImportController.php \Drupal\user_csv_import\Controller\UserCsvImportController::importPage()

Show import page.

1 string reference to 'UserCsvImportController::importPage'
user_csv_import.routing.yml in ./user_csv_import.routing.yml
user_csv_import.routing.yml

File

src/Controller/UserCsvImportController.php, line 17

Class

UserCsvImportController
Provides methods to import CSV files and convert to users.

Namespace

Drupal\user_csv_import\Controller

Code

public static function importPage() {
  $form = \Drupal::formBuilder()
    ->getForm('Drupal\\user_csv_import\\Form\\UserCsvImportForm');
  return $form;
}