BlockLibraryController::$routeMatch

Same name in other branches
  1. 8.9.x core/modules/block/src/Controller/BlockLibraryController.php \Drupal\block\Controller\BlockLibraryController::routeMatch
  2. 10 core/modules/block/src/Controller/BlockLibraryController.php \Drupal\block\Controller\BlockLibraryController::routeMatch
  3. 11.x core/modules/block/src/Controller/BlockLibraryController.php \Drupal\block\Controller\BlockLibraryController::routeMatch

The route match.

Type: \Drupal\Core\Routing\RouteMatchInterface

File

core/modules/block/src/Controller/BlockLibraryController.php, line 40

Class

BlockLibraryController
Provides a list of block plugins to be added to the layout.

Namespace

Drupal\block\Controller

Code

protected $routeMatch;

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