You are here

protected function DrupalCodeBuilderTestSamples::doLoadLibrary in Module Builder 8.3

Helper for loadLibrary() for ease of overriding.

Overrides DrupalCodeBuilder::doLoadLibrary

File

module_builder_devel/src/DrupalCodeBuilderTestSamples.php, line 15

Class

DrupalCodeBuilderTestSamples
Alternative library wrapper service, to use the test samples environment.

Namespace

Drupal\module_builder_devel

Code

protected function doLoadLibrary() {
  \DrupalCodeBuilder\Factory::setEnvironmentLocalClass('WriteTestsSampleLocation')
    ->setCoreVersionNumber(\Drupal::VERSION);
}