eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway\ExceptionConversion::loadLanguageDataByLanguageCode PHP Method

loadLanguageDataByLanguageCode() public method

Loads data for the Language with Language Code (eg: eng-GB).
public loadLanguageDataByLanguageCode ( string $languageCode ) : string[][]
$languageCode string
return string[][]
    public function loadLanguageDataByLanguageCode($languageCode)
    {
        try {
            return $this->innerGateway->loadLanguageDataByLanguageCode($languageCode);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }