function TestSampleDataEnvironment::getHooksDirectorySetting in Module Builder 8.3
Set the hooks directory.
File
- tests/
modules/ test_dummy_module_write_location/ src/ TestSampleDataEnvironment.php, line 17
Class
Namespace
Drupal\test_dummy_module_write_locationCode
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;
}