function WizardFormController::getFormArgument

Same name in other branches
  1. 4.0.x src/Controller/WizardFormController.php \Drupal\ctools\Controller\WizardFormController::getFormArgument()

Overrides FormController::getFormArgument

1 call to WizardFormController::getFormArgument()
WizardFormController::getContentResult in src/Controller/WizardFormController.php
Invokes the form and returns the result.
1 method overrides WizardFormController::getFormArgument()
WizardEntityFormController::getFormArgument in src/Controller/WizardEntityFormController.php
Extracts the form argument string from a request.

File

src/Controller/WizardFormController.php, line 61

Class

WizardFormController
Wrapping controller for wizard forms that serve as the main page body.

Namespace

Drupal\ctools\Controller

Code

protected function getFormArgument(RouteMatchInterface $route_match) {
    return $route_match->getRouteObject()
        ->getDefault('_wizard');
}