Task/Collect/HooksCollector.php
protected function getHookInfo() {
    // Get data by invoking our hook.
    $data = \DrupalCodeBuilder\Factory::getEnvironment()->invokeInfoHook();

    // Add our data.
    $result = $this->getAdditionalHookInfo();
    $data = array_merge($data, $result);

    return $data;
  }
protected function getHookInfo() {
    // Get data by invoking our hook.
    $data = \DrupalCodeBuilder\Factory::getEnvironment()->invokeInfoHook();

    // Add our data.
    $result = $this->getAdditionalHookInfo();
    $data = array_merge($data, $result);

    return $data;
  }
protected function getHookInfo ( ) { // Get data by invoking our hook. $ data = \ DrupalCodeBuilder \ Factory :: getEnvironment ( ) -> invokeInfoHook ( ) ; // Add our data. $ result = $ this -> getAdditionalHookInfo ( ) ; $ data = array_merge ( $ data , $ result ) ; return $ data ; }
Get hook information declared by Module Builder.

This invokes our own hook, hook_module_builder_info(), as well as adding
hardcoded info such as module file locations, which can't be deduced from
either api.php files or hook_hook_info().
Get hook information declared by Module Builder .