You are here

protected function DrupalCodeBuilderTestSampleData::doLoadLibrary in Module Builder 8.3

Helper for loadLibrary() for ease of overriding.

Overrides DrupalCodeBuilder::doLoadLibrary

File

tests/modules/test_dummy_module_write_location/src/DrupalCodeBuilderTestSampleData.php, line 18

Class

DrupalCodeBuilderTestSampleData
Uses the code analysis data that's part of Drupal Code Builder's test suite.

Namespace

Drupal\test_dummy_module_write_location

Code

protected function doLoadLibrary() {
  $environment = new TestSampleDataEnvironment();
  \DrupalCodeBuilder\Factory::setEnvironment($environment)
    ->setCoreVersionNumber(\Drupal::VERSION);
}