Environment/BaseEnvironment.php
protected function getHooksDirectorySetting() {
    // Set the module folder based on variable.
    $directory = $this->getSetting('data_directory', 'hooks');

    // Run it through version-specific stuff.
    // This basically prepends 'public://' or 'sites/default/files/'.
    $this->version_helper->directoryPath($directory);

    $this->hooks_directory = $directory;
  }
protected function getHooksDirectorySetting() {
    // Set the module folder based on variable.
    $directory = $this->getSetting('data_directory', 'hooks');

    // Run it through version-specific stuff.
    // This basically prepends 'public://' or 'sites/default/files/'.
    $this->version_helper->directoryPath($directory);

    $this->hooks_directory = $directory;
  }
protected function getHooksDirectorySetting ( ) { // Set the module folder based on variable. $ directory = $ this -> getSetting ( 'data_directory' , 'hooks' ) ; // Run it through version-specific stuff. // This basically prepends 'public://' or 'sites/default/files/'. $ this -> version_helper -> directoryPath ( $ directory ) ; $ this -> hooks_directory = $ directory ; }
Get the hooks directory setting from the environment and set it locally.
Get the hooks directory setting from the environment and set it locally .