You are here

protected function WebformThirdPartySettingsManager::loadIncludes in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformThirdPartySettingsManager.php \Drupal\webform\WebformThirdPartySettingsManager::loadIncludes()

Load all third party settings includes.

See also

{module}/{module}.webform.inc

{module}/webform/{module}.webform.inc

webform/webform.{module}.inc

1 call to WebformThirdPartySettingsManager::loadIncludes()
WebformThirdPartySettingsManager::__construct in src/WebformThirdPartySettingsManager.php
Constructs a WebformThirdPartySettingsManager object.

File

src/WebformThirdPartySettingsManager.php, line 88

Class

WebformThirdPartySettingsManager
Webform third party settings manager.

Namespace

Drupal\webform

Code

protected function loadIncludes() {
  $modules = array_keys($this->moduleHandler
    ->getModuleList());
  foreach ($modules as $module) {
    $this->moduleHandler
      ->loadInclude($module, 'webform.inc');
    $this->moduleHandler
      ->loadInclude($module, 'webform.inc', "webform/{$module}");
    $this->moduleHandler
      ->loadInclude('webform', "inc", "third_party_settings/webform.{$module}");
  }
}