public function AccessManagerWrapper::setDataCollector in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/Access/AccessManagerWrapper.php \Drupal\webprofiler\Access\AccessManagerWrapper::setDataCollector()
- 8 webprofiler/src/Access/AccessManagerWrapper.php \Drupal\webprofiler\Access\AccessManagerWrapper::setDataCollector()
- 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\AccessCode
public function setDataCollector(RequestDataCollector $dataCollector) {
$this->dataCollector = $dataCollector;
}