Copied!

LanguageMapValidatorInterface

LanguageMapValidatorInterface.php : 14
Interface

Methods

publicvalidate()

LanguageMapValidatorInterface.php : 26

Checks the language map against the enabled Ibexa DXP languages and the active Quable locales.

public validate([ConnectionConfig|null $connectionConfig = null ]) : LanguageMapValidationResult

Validates the connection configured for the current SiteAccess scope, unless explicit connection settings are given, e.g. to verify settings before they are saved. As it calls the Quable API, a successful validation also proves the connection settings work.

Parameters

Name Type Default value Description
$connectionConfig ConnectionConfig|null null -

Return values

LanguageMapValidationResult

Tags
Throws
ConnectionNotConfiguredException
Throws
Throwable

when the Quable API cannot be reached or rejects the credentials