public static function ContentSyncSettings::getInstance 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::getInstance()
- 2.0.x src/Controller/ContentSyncSettings.php \Drupal\cms_content_sync\Controller\ContentSyncSettings::getInstance()
Singleton.
Return value
8 calls to ContentSyncSettings::getInstance()
- DebugForm::buildForm in src/
Form/ DebugForm.php - Form constructor.
- DebugForm::submitForm in src/
Form/ DebugForm.php - Form submission handler.
- ManualPull::content in src/
Controller/ ManualPull.php - Render the content synchronization Angular frontend.
- PoolExport::validateBaseUrl in src/
Controller/ PoolExport.php - Ensure that the sites base url does not contain localhost or an IP.
- PullIntent::execute in src/
PullIntent.php - Pull the provided entity.
File
- src/
Controller/ ContentSyncSettings.php, line 74
Class
- ContentSyncSettings
- Class ContentSyncSettings.
Namespace
Drupal\cms_content_sync\ControllerCode
public static function getInstance() {
static $instance = null;
if ($instance) {
return $instance;
}
return $instance = self::createInstance(\Drupal::getContainer());
}