You are here

public function AccessManagerWrapper::setDataCollector in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Access/AccessManagerWrapper.php \Drupal\webprofiler\Access\AccessManagerWrapper::setDataCollector()
  2. 8 webprofiler/src/Access/AccessManagerWrapper.php \Drupal\webprofiler\Access\AccessManagerWrapper::setDataCollector()
  3. 8.2 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;
}