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_typeView 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
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestEnvironment:: |
protected | property | Whether to skip the sanity tests. | |
TestEnvironment:: |
protected | property | The short class name of the storage helper to use. |