function ThemeSettings::create

Same name in other branches
  1. 8.9.x core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\destination\d7\ThemeSettings::create()
  2. 10 core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\destination\d7\ThemeSettings::create()
  3. 11.x core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\destination\d7\ThemeSettings::create()

Overrides ContainerFactoryPluginInterface::create

File

core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php, line 50

Class

ThemeSettings
Persist theme settings to the config system.

Namespace

Drupal\system\Plugin\migrate\destination\d7

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration = NULL) {
    return new static($configuration, $plugin_id, $plugin_definition, $migration, $container->get('config.factory'));
}

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