You are here

public function ConfigFactoryWrapper::setDataCollector in Devel 8

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

Parameters

\Drupal\webprofiler\DataCollector\ConfigDataCollector $dataCollector:

File

webprofiler/src/Config/ConfigFactoryWrapper.php, line 41

Class

ConfigFactoryWrapper
Wraps a config factory to be able to figure out all used config files.

Namespace

Drupal\webprofiler\Config

Code

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