class TestSampleDataEnvironment in Module Builder 8.3
Hierarchy
- class \Drupal\test_dummy_module_write_location\TestSampleDataEnvironment extends \DrupalCodeBuilder\Environment\DrupalLibrary
Expanded class hierarchy of TestSampleDataEnvironment
File
- tests/
modules/ test_dummy_module_write_location/ src/ TestSampleDataEnvironment.php, line 7
Namespace
Drupal\test_dummy_module_write_locationView source
class TestSampleDataEnvironment extends DrupalLibrary {
/**
* The short class name of the storage helper to use.
*/
protected $storageType = 'TestExportInclude';
/**
* Set the hooks directory.
*/
function getHooksDirectorySetting() {
// TODO: find a way to get the actual package location from Composer.
$directory = '../vendor/drupal-code-builder/drupal-code-builder/Test/sample_hook_definitions/' . $this
->getCoreMajorVersion();
$this->hooks_directory = $directory;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestSampleDataEnvironment:: |
protected | property | The short class name of the storage helper to use. | |
TestSampleDataEnvironment:: |
function | Set the hooks directory. |