You are here

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

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
module_builder_devel.drupal_code_builder in module_builder_devel/module_builder_devel.services.yml
Drupal\module_builder_devel\DrupalCodeBuilderDevel

File

module_builder_devel/src/DrupalCodeBuilderDevel.php, line 14

Namespace

Drupal\module_builder_devel
View source
class DrupalCodeBuilderDevel extends DrupalCodeBuilder {

  /**
   * {@inheritdoc}
   */
  protected function doLoadLibrary() {
    $environment = new ModuleBuilderDevel();
    \DrupalCodeBuilder\Factory::setEnvironment($environment)
      ->setCoreVersionNumber(\Drupal::VERSION);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
DrupalCodeBuilder::$loaded protected property Whether the library has been initialized.
DrupalCodeBuilder::getTask public function Gets a task handler from the library.
DrupalCodeBuilder::loadLibrary public function Loads the Drupal Coder Builder library and sets the environment.
DrupalCodeBuilderDevel::doLoadLibrary protected function Helper for loadLibrary() for ease of overriding. Overrides DrupalCodeBuilder::doLoadLibrary