class DrupalCodeBuilderTestSamples in Module Builder 8.3
Alternative library wrapper service, to use the test samples environment.
Hierarchy
- class \Drupal\module_builder\DrupalCodeBuilder
- class \Drupal\module_builder_devel\DrupalCodeBuilderTestSamples
Expanded class hierarchy of DrupalCodeBuilderTestSamples
1 string reference to 'DrupalCodeBuilderTestSamples'
- module_builder_devel.services.yml in module_builder_devel/
module_builder_devel.services.yml - module_builder_devel/module_builder_devel.services.yml
1 service uses DrupalCodeBuilderTestSamples
File
- module_builder_devel/
src/ DrupalCodeBuilderTestSamples.php, line 10
Namespace
Drupal\module_builder_develView source
class DrupalCodeBuilderTestSamples extends DrupalCodeBuilder {
/**
* {@inheritdoc}
*/
protected function doLoadLibrary() {
\DrupalCodeBuilder\Factory::setEnvironmentLocalClass('WriteTestsSampleLocation')
->setCoreVersionNumber(\Drupal::VERSION);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DrupalCodeBuilder:: |
protected | property | Whether the library has been initialized. | |
DrupalCodeBuilder:: |
public | function | Gets a task handler from the library. | |
DrupalCodeBuilder:: |
public | function | Loads the Drupal Coder Builder library and sets the environment. | |
DrupalCodeBuilderTestSamples:: |
protected | function |
Helper for loadLibrary() for ease of overriding. Overrides DrupalCodeBuilder:: |