You are here

class TestEnvironment in Module Builder 8.3

Drupal Code Builder environment class for testing.

Hierarchy

  • class \Drupal\module_builder_test_component_type\TestEnvironment extends \DrupalCodeBuilder\Environment\DrupalLibrary

Expanded class hierarchy of TestEnvironment

File

tests/modules/module_builder_test_component_type/src/TestEnvironment.php, line 10

Namespace

Drupal\module_builder_test_component_type
View source
class TestEnvironment extends DrupalLibrary {

  /**
   * Whether to skip the sanity tests.
   *
   * @see skipSanityCheck()
   */
  protected $skipSanity = TRUE;

  /**
   * The short class name of the storage helper to use.
   *
   * We replace this so that this environment does the same change as
   * \Drupal\module_builder_devel\Environment\ModuleBuilderDevel. This is so
   * that when this module and module_builder_devel are both enabled, which
   * causes the module_builder_devel.drupal_code_builder decorating service to
   * not actually be in place, the storage change that it exists to make still
   * happens.
   */
  protected $storageType = 'ExportInclude';

}

Members

Namesort descending Modifiers Type Description Overrides
TestEnvironment::$skipSanity protected property Whether to skip the sanity tests.
TestEnvironment::$storageType protected property The short class name of the storage helper to use.