RouteSubscriber::$collection

Same name in other branches
  1. 10 core/modules/block_content/src/Routing/RouteSubscriber.php \Drupal\block_content\Routing\RouteSubscriber::collection

The route collection for adding routes.

Type: \Symfony\Component\Routing\RouteCollection

File

core/modules/block_content/src/Routing/RouteSubscriber.php, line 37

Class

RouteSubscriber
Subscriber for Block content BC routes.

Namespace

Drupal\block_content\Routing

Code

protected $collection;

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