public static function ContentSyncSettings::createInstance in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Controller/ContentSyncSettings.php \Drupal\cms_content_sync\Controller\ContentSyncSettings::createInstance()
- 2.0.x src/Controller/ContentSyncSettings.php \Drupal\cms_content_sync\Controller\ContentSyncSettings::createInstance()
Create a new instance of the controller with the services of the given container.
Return value
1 call to ContentSyncSettings::createInstance()
- ContentSyncSettings::getInstance in src/
Controller/ ContentSyncSettings.php - Singleton.
File
- src/
Controller/ ContentSyncSettings.php, line 89
Class
- ContentSyncSettings
- Class ContentSyncSettings.
Namespace
Drupal\cms_content_sync\ControllerCode
public static function createInstance(ContainerInterface $container) {
return new static($container
->get('config.factory'));
}