function ThemeSettings::__construct
Same name in this branch
- 11.x core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\destination\d7\ThemeSettings::__construct()
Same name in other branches
- 9 core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\destination\d7\ThemeSettings::__construct()
- 9 core/lib/Drupal/Core/Theme/ThemeSettings.php \Drupal\Core\Theme\ThemeSettings::__construct()
- 8.9.x core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\destination\d7\ThemeSettings::__construct()
- 8.9.x core/lib/Drupal/Core/Theme/ThemeSettings.php \Drupal\Core\Theme\ThemeSettings::__construct()
- 10 core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\destination\d7\ThemeSettings::__construct()
- 10 core/lib/Drupal/Core/Theme/ThemeSettings.php \Drupal\Core\Theme\ThemeSettings::__construct()
Constructs a theme settings object.
Parameters
string $theme: The name of the theme settings object being constructed.
File
-
core/
lib/ Drupal/ Core/ Theme/ ThemeSettings.php, line 31
Class
- ThemeSettings
- Provides a configuration API wrapper for runtime merged theme settings.
Namespace
Drupal\Core\ThemeCode
public function __construct($theme) {
$this->theme = $theme;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.