function BcRoute::__construct

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Routing/BcRoute.php \Drupal\Core\Routing\BcRoute::__construct()
  2. 10 core/lib/Drupal/Core/Routing/BcRoute.php \Drupal\Core\Routing\BcRoute::__construct()
  3. 11.x core/lib/Drupal/Core/Routing/BcRoute.php \Drupal\Core\Routing\BcRoute::__construct()

File

core/lib/Drupal/Core/Routing/BcRoute.php, line 24

Class

BcRoute
A backwards compatibility route.

Namespace

Drupal\Core\Routing

Code

public function __construct() {
    parent::__construct('');
    $this->setOption('bc_route', TRUE);
}

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