public function RequestDataCollector::addAccessCheck in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/RequestDataCollector.php \Drupal\webprofiler\DataCollector\RequestDataCollector::addAccessCheck()
- 8 webprofiler/src/DataCollector/RequestDataCollector.php \Drupal\webprofiler\DataCollector\RequestDataCollector::addAccessCheck()
- 4.x webprofiler/src/DataCollector/RequestDataCollector.php \Drupal\webprofiler\DataCollector\RequestDataCollector::addAccessCheck()
Parameters
$service_id:
$callable:
\Symfony\Component\HttpFoundation\Request $request:
File
- webprofiler/
src/ DataCollector/ RequestDataCollector.php, line 57
Class
- RequestDataCollector
- Integrate _content into the RequestDataCollector
Namespace
Drupal\webprofiler\DataCollectorCode
public function addAccessCheck($service_id, $callable, Request $request) {
$this->accessCheck[$request
->getPathInfo()][] = [
'service_id' => $service_id,
'callable' => $this
->getMethodData($callable[0], $callable[1]),
];
}