class DrupalCodeBuilderDevel in Module Builder 8.3
Replacement library wrapper service, to switch the environment.
The replacement environment switches the storage so that analysis data is human-readable.
Hierarchy
- class \Drupal\module_builder\DrupalCodeBuilder
- class \Drupal\module_builder_devel\DrupalCodeBuilderDevel
Expanded class hierarchy of DrupalCodeBuilderDevel
1 string reference to 'DrupalCodeBuilderDevel'
- 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 DrupalCodeBuilderDevel
File
- module_builder_devel/
src/ DrupalCodeBuilderDevel.php, line 14
Namespace
Drupal\module_builder_develView source
class DrupalCodeBuilderDevel extends DrupalCodeBuilder {
/**
* {@inheritdoc}
*/
protected function doLoadLibrary() {
$environment = new ModuleBuilderDevel();
\DrupalCodeBuilder\Factory::setEnvironment($environment)
->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. | |
DrupalCodeBuilderDevel:: |
protected | function |
Helper for loadLibrary() for ease of overriding. Overrides DrupalCodeBuilder:: |