public static function ContentSyncSettings::getInstance in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 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
13 calls to ContentSyncSettings::getInstance()
- cms_content_sync_menu_local_actions_alter in ./
cms_content_sync.module - DebugForm::buildForm in src/
Form/ DebugForm.php - Form constructor.
- DebugForm::submitForm in src/
Form/ DebugForm.php - Form submission handler.
- Embed::init in src/
Controller/ Embed.php - FlowListBuilder::render in src/
Controller/ FlowListBuilder.php - Builds the entity listing as renderable array for table.html.twig.
File
- src/
Controller/ ContentSyncSettings.php, line 84
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());
}