modules/acm/src/I18nHelper.php
public function getStoreIdFromLangcode($langcode = '') {
    if (empty($langcode)) {
      $langcode = $this->languageManager->getCurrentLanguage()->getId();
    }
    $mapping = $this->getStoreLanguageMapping();
    return !empty($mapping[$langcode]) ? $mapping[$langcode] : NULL;
  }
public function getStoreIdFromLangcode($langcode = '') {
    if (empty($langcode)) {
      $langcode = $this->languageManager->getCurrentLanguage()->getId();
    }
    $mapping = $this->getStoreLanguageMapping();
    return !empty($mapping[$langcode]) ? $mapping[$langcode] : NULL;
  }
public function getStoreIdFromLangcode ( $ langcode = '' ) { if ( empty ( $ langcode ) ) { $ langcode = $ this -> languageManager -> getCurrentLanguage ( ) -> getId ( ) ; } $ mapping = $ this -> getStoreLanguageMapping ( ) ; return ! empty ( $ mapping [ $ langcode ] ) ? $ mapping [ $ langcode ] : NULL ; }
Helper method to get store id from language code.

@param string $langcode
Language code to convert to store id.

@return string|null
Store id if available as string or null.
Helper method to get store id from language code .