+ ContentTypeOwnedBySomeoneElseException
+ +Marker interface for all Repository related exceptions.
+ + + + + + + + + + + + + +diff --git a/.github/workflows/api_refs.yaml b/.github/workflows/api_refs.yaml index cc51f8b54ae..01a6feed9f6 100644 --- a/.github/workflows/api_refs.yaml +++ b/.github/workflows/api_refs.yaml @@ -124,6 +124,9 @@ jobs: fi composer config --global http-basic.updates.ibexa.co $SATIS_NETWORK_KEY $SATIS_NETWORK_TOKEN + git config --global user.name "${GITHUB_ACTOR}" + git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" + if [[ '4.6' != $BASE_BRANCH ]]; then tools/api_refs/api_refs.sh # Fix escape character: @@ -140,8 +143,6 @@ jobs: env: BASE_BRANCH: ${{ steps.version_and_branches.outputs.base_branch }} run: | - git config --global user.name "${GITHUB_ACTOR}" - git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" git add docs/api/php_api/php_api_reference/ if [[ '4.6' != $BASE_BRANCH ]]; then git add tools/api_refs/.phpdoc/template/package-edition-map.twig diff --git a/.lycheeignore b/.lycheeignore index 829c48f8474..7f2def30441 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -16,6 +16,7 @@ ^https://support\.ibexa\.co/ ^https://redocly\.com/redoc/ ^https://updates\.ibexa\.co +https://cohesivo.com # Hosts that block automated requests (403) ^https?://(www\.)?linkedin\.com diff --git a/code_samples/back_office/online_editor/custom_tags/factbox/config/packages/custom_tags.yaml b/code_samples/back_office/online_editor/custom_tags/factbox/config/packages/custom_tags.yaml index 533eb6a694a..435d594abdb 100644 --- a/code_samples/back_office/online_editor/custom_tags/factbox/config/packages/custom_tags.yaml +++ b/code_samples/back_office/online_editor/custom_tags/factbox/config/packages/custom_tags.yaml @@ -1,25 +1,31 @@ -ibexa: - system: - admin_group: - fieldtypes: - ibexa_richtext: - custom_tags: [factbox] - toolbar: - custom_tags_group: - buttons: - factbox: - priority: 5 ibexa_fieldtype_richtext: custom_tags: factbox: template: '@ibexadesign/field_type/ibexa_richtext/custom_tags/factbox.html.twig' - icon: '/bundles/ibexaadminuiassets/vendors/ids-assets/dist/img/all-icons.svg#info-square' + icon: '/bundles/ibexaadminuiassets/vendors/ids-assets/dist/img/all-icons.svg#info-square' # Optional + is_inline: false # Optional + label: 'Factbox custom tag' # Optional + description: 'Highlight a piece of information in a box' # Optional attributes: name: type: string - required: true + required: true # Optional + label: 'My name attribute' # Optional style: type: choice - required: true + required: true # Optional default_value: light choices: [light, dark] + label: 'My style attribute' # Optional + +ibexa: + system: + admin_group: + fieldtypes: + ibexa_richtext: + custom_tags: [factbox] + toolbar: + custom_tags_group: + buttons: + factbox: + priority: 5 diff --git a/code_samples/back_office/online_editor/custom_tags/factbox/config/packages/jms_translation.yaml b/code_samples/back_office/online_editor/custom_tags/factbox/config/packages/jms_translation.yaml new file mode 100644 index 00000000000..879ff7b8a09 --- /dev/null +++ b/code_samples/back_office/online_editor/custom_tags/factbox/config/packages/jms_translation.yaml @@ -0,0 +1,9 @@ +jms_translation: + configs: + app_translation_config: + dirs: ['%kernel.project_dir%/src'] + output_dir: '%kernel.project_dir%/translations' + output_format: yaml + extractors: + - 'app.translation_extractor.factbox' + - 'app.translation_extractor.factbox_choice' diff --git a/code_samples/back_office/online_editor/custom_tags/factbox/config/services.yaml b/code_samples/back_office/online_editor/custom_tags/factbox/config/services.yaml new file mode 100644 index 00000000000..8f0617624a7 --- /dev/null +++ b/code_samples/back_office/online_editor/custom_tags/factbox/config/services.yaml @@ -0,0 +1,20 @@ +services: + app.extractor.custom_tag: + class: Ibexa\FieldTypeRichText\Translation\Extractor\CustomTagExtractor + arguments: + $customTags: '%ibexa.field_type.richtext.custom_tags%' + $domain: '%ibexa.field_type.richtext.custom_tags.translation_domain%' + $allowlist: ['factbox'] + tags: + - name: jms_translation.extractor + alias: app.translation_extractor.factbox + + app.extractor.custom_tag_choice: + class: Ibexa\FieldTypeRichText\Translation\Extractor\ChoiceAttributeExtractor + arguments: + $customTags: '%ibexa.field_type.richtext.custom_tags%' + $domain: '%ibexa.field_type.richtext.custom_tags.translation_domain%' + $allowlist: ['factbox'] + tags: + - name: jms_translation.extractor + alias: app.translation_extractor.factbox_choice diff --git a/code_samples/back_office/online_editor/custom_tags/factbox/templates/themes/standard/field_type/ibexa_richtext/custom_tags/factbox.html.twig b/code_samples/back_office/online_editor/custom_tags/factbox/templates/themes/standard/field_type/ibexa_richtext/custom_tags/factbox.html.twig index 6ffaabc1d13..7a8170e35f2 100644 --- a/code_samples/back_office/online_editor/custom_tags/factbox/templates/themes/standard/field_type/ibexa_richtext/custom_tags/factbox.html.twig +++ b/code_samples/back_office/online_editor/custom_tags/factbox/templates/themes/standard/field_type/ibexa_richtext/custom_tags/factbox.html.twig @@ -1,3 +1,5 @@ +{{ encore_entry_link_tags('factbox') }} +
{{ params.name }}
The base class for all value objects and structs.
@@ -286,7 +289,7 @@string|null
+|
+
+
+ + |
+
+
+
+
+ |
+
array<string|int, mixed>
+ +public mixed VERSION = '5.0.9'
+ public mixed VERSION = '5.0.10'
Marker interface for all Repository related exceptions.
+ + + + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
public getParameter(string $paramName[, string $namespace = null ][, string $scope = null ]) : mixed
+ public getParameter(string $paramName[, string|null $namespace = null ][, string|null $scope = null ]) : mixed
public hasParameter(string $paramName[, string $namespace = null ][, string $scope = null ]) : bool
+ public hasParameter(string $paramName[, string|null $namespace = null ][, string|null $scope = null ]) : bool
Database platform identifiers recognized by {@see DatabasePlatformResolver}.
+ + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
+
+ Resolves a Doctrine database platform to one of the {@see DatabasePlatformName} cases, +or null if it is not one of the recognized platforms.
+ + +Replaces the DBAL 3.10-deprecated and DBAL 4-removed AbstractPlatform::getName().
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $platform + | ++ AbstractPlatform + | ++ - + | ++ - + | +
DatabasePlatformName|null
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+|
+
+
+ + |
+
+
+
+
+ |
+
string|null
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $nameHelp + | ++ string|null + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
string
+|
+
+
+ + |
+
+
+
+
+ |
+
string|null
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $nameHelp + | ++ string|null + | ++ - + | ++ - + | +
(c) Fabien Potencier <fabien@symfony.com>.
+since Ibexa 5.0.10. Starting from Ibexa 6.0, the native DeduplicateStamp +will be used instead. Ibexa 5.0 is not prepared to handle the Symfony stamp yet, so keep using +this class until you upgrade.
+Original code: https://github.com/symfony/symfony/blob/7.3/src/Symfony/Component/Messenger/Stamp/DeduplicateStamp.php
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $siteAccess + | ++ string + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $text + | ++ Text + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
ActionContext|null
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
array<string|int, mixed>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
array<string, mixed>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
RuntimeContext|null
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
bool
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
bool
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $actionContext + | ++ ActionContext + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $runtimeContext + | ++ RuntimeContext + | ++ - + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
array<string|int, string>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
array<string|int, string>
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
array<string|int, string>
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $configuration + | ++ array<string, mixed> + | ++ - + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $parameterName + | ++ string + | ++ - + | ++ - + | +
| + $identifier + | ++ string + | ++ - + | ++ - + | +
| + $siteAccessName + | ++ string|null + | ++ null + | ++ - + | +
array<string, mixed>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $parameterName + | ++ string + | ++ - + | ++ - + | +
| + $siteAccessName + | ++ string|null + | ++ null + | ++ - + | +
array<int, string>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $parameterName + | ++ string + | ++ - + | ++ - + | +
| + $identifier + | ++ string + | ++ - + | ++ - + | +
| + $siteAccessName + | ++ string|null + | ++ null + | ++ - + | +
bool
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
+
+ Event emitted before translation execution.
+ + + + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $provider + | ++ TranslationProviderInterface + | ++ - + | ++ - + | +
| + $text + | ++ string + | ++ - + | ++ - + | +
| + $sourceLanguage + | ++ string + | ++ - + | ++ - + | +
| + $targetLanguage + | ++ string + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
bool
+ + +Stops the propagation of the event to further event listeners.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().
+ +
+
+ Event emitted after translation execution.
+ + + + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $result + | ++ string + | ++ - + | ++ - + | +
| + $provider + | ++ TranslationProviderInterface + | ++ - + | ++ - + | +
| + $text + | ++ string + | ++ - + | ++ - + | +
| + $sourceLanguage + | ++ string + | ++ - + | ++ - + | +
| + $targetLanguage + | ++ string + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
bool
+ + +Stops the propagation of the event to further event listeners.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().
+ +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $message + | ++ string + | ++ - + | ++ - + | +
| + $previous + | ++ Throwable|null + | ++ null + | ++ - + | +
+
+ This exception is thrown if a service method is called with an illegal or non appropriate value.
+ + + + + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $type + | ++ string + | ++ - + | ++ - + | +
+
+ This exception is thrown if a service method is called with an illegal or non appropriate value.
+ + + + + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
+
+ This exception is thrown if a service method is called with an illegal or non appropriate value.
+ + + + + + + + + + + + + + +
+
+ Thrown when the auto-translation request payload is malformed (invalid value types), before any +translation is attempted. Consumers should map it to an HTTP 400 Bad Request.
+ + + + + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $message + | ++ string + | ++ - + | ++ - + | +
| + $previous + | ++ Throwable|null + | ++ null + | ++ - + | +
+
+ This exception is thrown if a service method is called with an illegal or non appropriate value.
+ + + + + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $languageCode + | ++ string + | ++ - + | ++ - + | +
| + $type + | ++ string + | ++ - + | ++ - + | +
| + $expectedPattern + | ++ string + | ++ - + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $languageCode + | ++ string + | ++ - + | ++ - + | +
| + $type + | ++ string + | ++ - + | ++ - + | +
+
+ This exception is thrown if a service method is called with an illegal or non appropriate value.
+ + + + + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $providerIdentifier + | ++ string + | ++ - + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $contentId + | ++ int + | ++ - + | ++ - + | +
| + $languageCode + | ++ string + | ++ - + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $providerIdentifier + | ++ string + | ++ - + | ++ - + | +
| + $previous + | ++ Throwable|null + | ++ null + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $languageCode + | ++ string + | ++ - + | ++ - + | +
+
+ This exception is thrown if a service method is called with an illegal or non appropriate value.
+ + + + + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $textSizeBytes + | ++ int + | ++ - + | ++ - + | +
| + $maxSizeBytes + | ++ int + | ++ - + | ++ - + | +
+
+
+
+
+
+
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $contextType + | ++ string + | ++ - + | ++ - + | +
+
+ This exception is thrown if a service method is called with an illegal or non appropriate value.
+ + + + + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $expectedType + | ++ string + | ++ - + | ++ - + | +
| + $actualType + | ++ string + | ++ - + | ++ - + | +
+
+ This exception is thrown if a service method is called with an illegal or non appropriate value.
+ + + + + + + + + + + + + + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $languageCode + | ++ string + | ++ - + | ++ - + | +
| + $providerIdentifier + | ++ string + | ++ - + | ++ - + | +
| + $supportedLanguageCodes + | ++ array<string|int, string> + | ++ - + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $providerIdentifier + | ++ string + | ++ - + | ++ - + | +
| + $validationPolicy + | ++ string|null + | ++ null + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $request + | ++ TranslationRequestInterface + | ++ - + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $fieldTypeIdentifier + | ++ string + | ++ - + | ++ - + | +
| + $isMetadataRequired + | ++ bool + | ++ - + | ++ - + | +
| + $attempt + | ++ int + | ++ - + | ++ - + | +
| + $exception + | ++ Throwable + | ++ - + | ++ - + | +
MetadataValidationFailureHandling
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $fieldTypeIdentifier + | ++ string + | ++ - + | ++ - + | +
bool
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
array<string, mixed>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
array<string|int, string>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
bool
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $translationData + | ++ TranslationDataInterface + | ++ - + | ++ - + | +
string
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
array<string, mixed>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
array<string|int, string>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
bool
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $translationData + | ++ TranslationDataInterface + | ++ - + | ++ - + | +
string
+ + +
+
+ Interface for normalizing language codes to provider-specific format.
+ + + + + + + + + + + + + +Normalizes a language code to the provider's expected format.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $provider + | ++ TranslationProviderInterface + | ++ - + | ++ - + | +
| + $languageCode + | ++ string + | ++ - + | ++ - + | +
string
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $provider + | ++ TranslationProviderInterface + | ++ - + | ++ - + | +
bool
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
array<int, TranslationProviderInterface>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
int
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
array<string|int, string>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $translationData + | ++ TranslationDataInterface + | ++ - + | ++ - + | +
string
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $value + | ++ string + | ++ - + | ++ - + | +
| + $metadata + | ++ array<string, mixed> + | ++ [] + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $value + | ++ string + | ++ - + | ++ - + | +
| + $previousFieldValue + | ++ mixed + | ++ - + | ++ - + | +
| + $metadata + | ++ array<string, mixed> + | ++ - + | ++ - + | +
Value
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $field + | ++ Field + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $value + | ++ string + | ++ - + | ++ - + | +
| + $previousFieldValue + | ++ mixed + | ++ - + | ++ - + | +
| + $metadata + | ++ array<string, mixed> + | ++ - + | ++ - + | +
Value
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $field + | ++ Field + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $exception + | ++ Throwable + | ++ - + | ++ - + | +
MetadataEncodingFailureHandling
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $value + | ++ string + | ++ - + | ++ - + | +
| + $previousFieldValue + | ++ mixed + | ++ - + | ++ - + | +
bool
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $translatedValue + | ++ string + | ++ - + | ++ - + | +
| + $sourceValue + | ++ string + | ++ - + | ++ - + | +
| + $metadata + | ++ array<string, mixed> + | ++ - + | ++ - + | +
string
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $value + | ++ string + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $value + | ++ string + | ++ - + | ++ - + | +
| + $metadata + | ++ array<string, mixed> + | ++ [] + | ++ - + | +
| + $isFragment + | ++ bool + | ++ false + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $payload + | ++ string + | ++ - + | ++ - + | +
array<string, mixed>
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $payload + | ++ array<string, mixed> + | ++ - + | ++ - + | +
string
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
array<string, mixed>
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
string
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $context + | ++ mixed + | ++ - + | ++ - + | +
| + $provider + | ++ TranslationProviderInterface + | ++ - + | ++ - + | +
| + $sourceLanguage + | ++ string + | ++ - + | ++ - + | +
| + $targetLanguage + | ++ string + | ++ - + | ++ - + | +
array<string, mixed>
+ +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $context + | ++ mixed + | ++ - + | ++ - + | +
bool
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $context + | ++ mixed + | ++ - + | ++ - + | +
| + $provider + | ++ TranslationProviderInterface + | ++ - + | ++ - + | +
| + $sourceLanguage + | ++ string + | ++ - + | ++ - + | +
| + $targetLanguage + | ++ string + | ++ - + | ++ - + | +
array<string, mixed>
+ +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $maxTextLengthBytes + | ++ int + | ++ DefaultProviderValidator::DEFAULT_MAX_TEXT_LENGTH_BYTES + | ++ - + | +
| + $inputLanguageCodeFormatPattern + | ++ string + | ++ DefaultProviderValidator::DEFAULT_LANGUAGE_CODE_FORMAT + | ++ - + | +
| + $outputLanguageCodeFormatPattern + | ++ string + | ++ DefaultProviderValidator::DEFAULT_LANGUAGE_CODE_FORMAT + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $provider + | ++ TranslationProviderInterface + | ++ - + | ++ - + | +
| + $languageCode + | ++ string + | ++ - + | ++ - + | +
| + $role + | ++ LanguageRole + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $languageCode + | ++ string + | ++ - + | ++ - + | +
| + $role + | ++ LanguageRole + | ++ - + | ++ - + | +
Validates that text is not empty and does not exceed maximum length.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $text + | ++ string + | ++ - + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
+
+ Provider-specific validator for translation input.
+ + +Allows each translation provider to define its own validation rules +(e.g., max text length, language code format, supported languages).
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $provider + | ++ TranslationProviderInterface + | ++ - + | ++ - + | +
| + $languageCode + | ++ string + | ++ - + | ++ - + | +
| + $role + | ++ LanguageRole + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $languageCode + | ++ string + | ++ - + | ++ - + | +
| + $role + | ++ LanguageRole + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $text + | ++ string + | ++ - + | ++ - + | +
+
+ Registry that provides access to provider-specific validators.
+ + +This interface follows the Registry pattern, acting as a factory to retrieve +the appropriate ProviderValidatorInterface implementation for a given provider.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $provider + | ++ TranslationProviderInterface + | ++ - + | ++ - + | +
+
+ Resolves which validation profile should be used for a translation provider.
+ + +A validation profile is a reusable validator contract selected by provider +service tags, not a validator dedicated to a single provider identifier. +This lets several providers share the same validation rules. For example, +OpenAI and other AI-backed providers can point to the same "ai_generic" +profile instead of each provider registering its own validator with +duplicated limits and language-code patterns.
+The provider-to-profile mapping is collected during container compilation +from the "validation_profile" attribute on translation provider service tags.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $provider + | ++ TranslationProviderInterface + | ++ - + | ++ - + | +
string
+ +
+
+
+
+
+
+
+
+
+
+ Event is the base class for classes containing event data.
+ + +This class contains no event data. It is used by events that do not pass +state information to an event handler when an event is raised.
+You can call the method stopPropagation() to abort the execution of +further listeners in your event listener.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $request + | ++ Request + | ++ - + | ++ - + | +
| + $sourceContent + | ++ Content + | ++ - + | ++ - + | +
| + $sourceLanguageCode + | ++ string + | ++ - + | ++ - + | +
| + $targetLanguageCode + | ++ string + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
bool
+ + +Stops the propagation of the event to further event listeners.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().
+ +
+
+ Event is the base class for classes containing event data.
+ + +This class contains no event data. It is used by events that do not pass +state information to an event handler when an event is raised.
+You can call the method stopPropagation() to abort the execution of +further listeners in your event listener.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $request + | ++ Request + | ++ - + | ++ - + | +
| + $sourceProduct + | ++ ContentAwareProductInterface + | ++ - + | ++ - + | +
| + $targetProduct + | ++ ContentAwareProductInterface + | ++ - + | ++ - + | +
| + $sourceLanguageCode + | ++ string + | ++ - + | ++ - + | +
| + $targetLanguageCode + | ++ string + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
bool
+ + +Stops the propagation of the event to further event listeners.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().
+ +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $contentId + | ++ int + | ++ - + | ++ - + | +
| + $sourceLanguageCode + | ++ string + | ++ - + | ++ - + | +
| + $targetLanguageCode + | ++ string + | ++ - + | ++ - + | +
| + $previous + | ++ Throwable|null + | ++ null + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $contentInfo + | ++ ContentInfo + | ++ - + | ++ - + | +
bool
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $contentId + | ++ int + | ++ - + | ++ - + | +
bool
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $contentInfo + | ++ ContentInfo + | ++ - + | ++ - + | +
bool
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $contentId + | ++ int + | ++ - + | ++ - + | +
| + $sourceLanguageCode + | ++ string + | ++ - + | ++ - + | +
| + $targetLanguageCode + | ++ string + | ++ - + | ++ - + | +
SideBySideTranslationAccessResult
+ +|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $contentId + | ++ int + | ++ - + | ++ - + | +
| + $fallbackLanguageCode + | ++ string + | ++ - + | ++ - + | +
| + $targetLanguageCode + | ++ string + | ++ - + | ++ - + | +
| + $sourceLanguageCode + | ++ string|null + | ++ null + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $contentId + | ++ int + | ++ - + | ++ - + | +
| + $sourceLanguageCode + | ++ string + | ++ - + | ++ - + | +
| + $targetLanguageCode + | ++ string + | ++ - + | ++ - + | +
| + $fallbackLanguageCode + | ++ string|null + | ++ null + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $sourceContent + | ++ Content + | ++ - + | ++ - + | +
| + $targetContent + | ++ Content + | ++ - + | ++ - + | +
| + $sourceLanguageCode + | ++ string + | ++ - + | ++ - + | +
| + $targetLanguageCode + | ++ string + | ++ - + | ++ - + | +
| + $fieldMetadata + | ++ array<int, SideBySideTranslationFieldMetadata> + | ++ [] + | ++ - + | +
| + $fallbackLanguageCode + | ++ string|null + | ++ null + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $canViewSource + | ++ bool + | ++ - + | ++ - + | +
| + $canViewTarget + | ++ bool + | ++ - + | ++ - + | +
| + $canEditTarget + | ++ bool + | ++ - + | ++ - + | +
| + $viewSourceLimitationResult + | ++ LookupLimitationResult|null + | ++ null + | ++ - + | +
| + $viewTargetLimitationResult + | ++ LookupLimitationResult|null + | ++ null + | ++ - + | +
| + $editTargetLimitationResult + | ++ LookupLimitationResult|null + | ++ null + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
bool
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
bool
+ + +|
+
+
+ + |
+
+
+
+
+ |
+
bool
+ + +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $languageCode + | ++ string + | ++ - + | ++ - + | +
| + $content + | ++ Content|null + | ++ - + | ++ - + | +
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $identifier + | ++ string + | ++ - + | ++ - + | +
| + $fieldTypeIdentifier + | ++ string + | ++ - + | ++ - + | +
| + $isTranslatable + | ++ bool + | ++ - + | ++ - + | +
| + $isEditable + | ++ bool + | ++ - + | ++ - + | +
|
+
+
+ + |
+
+
+
+
+ |
+
| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $fieldDefinition + | ++ FieldDefinition + | ++ - + | ++ - + | +
self
+ + +