You are here

public function RequestDataCollector::addAccessCheck in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/DataCollector/RequestDataCollector.php \Drupal\webprofiler\DataCollector\RequestDataCollector::addAccessCheck()
  2. 8.2 webprofiler/src/DataCollector/RequestDataCollector.php \Drupal\webprofiler\DataCollector\RequestDataCollector::addAccessCheck()
  3. 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 56

Class

RequestDataCollector
Integrate _content into the RequestDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

public function addAccessCheck($service_id, $callable, Request $request) {
  $this->accessCheck[$request
    ->getPathInfo()][] = [
    'service_id' => $service_id,
    'callable' => $this
      ->getMethodData($callable[0], $callable[1]),
  ];
}