function HookCollectorPass::loadAllIncludes

This method is only to be used by ModuleHandler.

@internal

File

core/lib/Drupal/Core/Hook/HookCollectorPass.php, line 306

Class

HookCollectorPass
Collects and registers hook implementations.

Namespace

Drupal\Core\Hook

Code

public function loadAllIncludes() : void {
    foreach ($this->includes as $include) {
        include_once $include;
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.