You are here

public function AccessManagerWrapper::setDataCollector in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/Access/AccessManagerWrapper.php \Drupal\webprofiler\Access\AccessManagerWrapper::setDataCollector()
  2. 8.2 webprofiler/src/Access/AccessManagerWrapper.php \Drupal\webprofiler\Access\AccessManagerWrapper::setDataCollector()
  3. 4.x webprofiler/src/Access/AccessManagerWrapper.php \Drupal\webprofiler\Access\AccessManagerWrapper::setDataCollector()

Parameters

\Drupal\webprofiler\DataCollector\RequestDataCollector $dataCollector:

File

webprofiler/src/Access/AccessManagerWrapper.php, line 80

Class

AccessManagerWrapper
Attaches access check services to routes and runs them on request.

Namespace

Drupal\webprofiler\Access

Code

public function setDataCollector(RequestDataCollector $dataCollector) {
  $this->dataCollector = $dataCollector;
}