FormBase::$routeMatch

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/FormBase.php \Drupal\Core\Form\FormBase::routeMatch
  2. 10 core/lib/Drupal/Core/Form/FormBase.php \Drupal\Core\Form\FormBase::routeMatch
  3. 11.x core/lib/Drupal/Core/Form/FormBase.php \Drupal\Core\Form\FormBase::routeMatch

The route match.

Type: \Drupal\Core\Routing\RouteMatchInterface

File

core/lib/Drupal/Core/Form/FormBase.php, line 76

Class

FormBase
Provides a base class for forms.

Namespace

Drupal\Core\Form

Code

protected $routeMatch;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.