Skip to content

getRecordOverlay() -> getLanguageOverlay()#35

Open
colaholiker wants to merge 1 commit into
franzholz:masterfrom
colaholiker:master
Open

getRecordOverlay() -> getLanguageOverlay()#35
colaholiker wants to merge 1 commit into
franzholz:masterfrom
colaholiker:master

Conversation

@colaholiker

Copy link
Copy Markdown

No description provided.

@franzholz franzholz added the good first issue Good for newcomers label Apr 1, 2026
@franzholz

Copy link
Copy Markdown
Owner

Shouldn't the parameter languageAspect be used also for the method getLanguageOverlay ?

     * @param LanguageAspect|null $languageAspect an alternative language aspect if needed (optional)
     * @return array|null NULL If overlays were activated but no overlay was found and LanguageAspect was NOT set to MIXED
     */
    public function getLanguageOverlay(string $table, array $originalRow, ?LanguageAspect $languageAspect = null):
    

@colaholiker

Copy link
Copy Markdown
Author

Was hat sich geändert?
Sichtbarkeit: getRecordOverlay ist jetzt protected. Die neue öffentliche Methode heißt getLanguageOverlay.
Parameter: Du musst $languageAspect->getContentId() und $languageAspect->getLegacyOverlayType() nicht mehr übergeben. TYPO3 holt sich diese Informationen nun selbstständig aus dem globalen Kontext.
Quelle:KI

@colaholiker

Copy link
Copy Markdown
Author

In meinem Fall hat wurde die richtige Übersetzung angezeit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue Good for newcomers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants