• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / Yoast-SEO-for-TYPO3 / 13327579701

14 Feb 2025 10:43AM UTC coverage: 1.276%. First build
13327579701

push

github

web-flow
Merge pull request #597 from Yoast/feature/v11

[FEATURE] Release 11.0.0

21 of 894 new or added lines in 76 files covered. (2.35%)

35 of 2744 relevant lines covered (1.28%)

0.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Classes/Utility/ConfigurationUtility.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace YoastSeoForTypo3\YoastSeo\Utility;
6

7
use YoastSeoForTypo3\YoastSeo\Form\Element;
8
use YoastSeoForTypo3\YoastSeo\MetaTag\Generator;
9

10
class ConfigurationUtility
11
{
12
    /**
13
     * @return array<int, array<int, string>>
14
     */
15
    public static function getFormEngineNodes(): array
16
    {
17
        return [
×
18
            1514550050 => ['snippetPreview', Element\SnippetPreview::class],
×
19
            1514728465 => ['readabilityAnalysis', Element\ReadabilityAnalysis::class],
×
20
            1514830899 => ['focusKeywordAnalysis', Element\FocusKeywordAnalysis::class],
×
21
            1519937113 => ['insights', Element\Insights::class],
×
22
            1552342645 => ['cornerstone', Element\Cornerstone::class],
×
23
            1552511464 => ['internalLinkingSuggestion', Element\InternalLinkingSuggestion::class],
×
24
        ];
×
25
    }
26

27
    /**
28
     * @return array<string, mixed>
29
     */
30
    public static function getDefaultConfiguration(): array
31
    {
32
        return [
×
33
            'allowedDoktypes' => [
×
34
                'page' => 1,
×
NEW
35
                'backend_section' => 6,
×
36
            ],
×
37
            // Translations for the backend
38
            'translations' => [
×
39
                'availableLocales' => [
×
40
                    'ar',
×
41
                    'bg_BG',
×
42
                    'bs_BA',
×
43
                    'ca',
×
NEW
44
                    'ca_valencia',
×
45
                    'da_DK',
×
NEW
46
                    'de_AT',
×
47
                    'de_CH',
×
48
                    'de_DE',
×
49
                    'el',
×
50
                    'en_AU',
×
51
                    'en_CA',
×
52
                    'en_GB',
×
53
                    'en_NZ',
×
54
                    'en_ZA',
×
55
                    'es_AR',
×
56
                    'es_CL',
×
NEW
57
                    'es_CO',
×
58
                    'es_CR',
×
59
                    'es_EC',
×
60
                    'es_ES',
×
61
                    'es_MX',
×
NEW
62
                    'es_PE',
×
NEW
63
                    'es_VE',
×
64
                    'fa_IR',
×
65
                    'fi',
×
66
                    'fr_BE',
×
67
                    'fr_CA',
×
68
                    'fr_FR',
×
NEW
69
                    'fy',
×
70
                    'gl_ES',
×
71
                    'he_IL',
×
72
                    'hi_IN',
×
73
                    'hr',
×
NEW
74
                    'hu_HU',
×
75
                    'id_ID',
×
76
                    'it_IT',
×
77
                    'ja',
×
78
                    'ko_KR',
×
79
                    'it_LT',
×
80
                    'nb_NO',
×
81
                    'nl_BE',
×
82
                    'nl_NL',
×
83
                    'pl_PL',
×
NEW
84
                    'pt_AO',
×
85
                    'pt_BR',
×
86
                    'pt_PT',
×
87
                    'ro_RO',
×
88
                    'ru_RU',
×
89
                    'sk_SK',
×
90
                    'sq',
×
91
                    'sr_RS',
×
92
                    'sv_SE',
×
93
                    'tr_TR',
×
94
                    'uk',
×
95
                    'vi',
×
96
                    'zh_CN',
×
97
                    'zh_HK',
×
98
                    'zh_TW',
×
99
                ],
×
100
                'languageKeyToLocaleMapping' => [
×
101
                    'bg' => 'bg_BG',
×
NEW
102
                    'cs' => 'cs_CZ',
×
103
                    'da' => 'da_DK',
×
104
                    'de' => 'de_DE',
×
105
                    'en' => 'en_GB',
×
106
                    'es' => 'es_ES',
×
107
                    'fa' => 'fa_IR',
×
108
                    'fr' => 'fr_FR',
×
109
                    'he' => 'he_IL',
×
NEW
110
                    'hu' => 'hu_HU',
×
NEW
111
                    'id' => 'id_ID',
×
112
                    'it' => 'it_IT',
×
NEW
113
                    'ko' => 'ko_KR',
×
114
                    'no' => 'nb_NO',
×
115
                    'nl' => 'nl_NL',
×
116
                    'pl' => 'pl_PL',
×
117
                    'pt' => 'pt_PT',
×
NEW
118
                    'ro' => 'ro_RO',
×
119
                    'ru' => 'ru_RU',
×
120
                    'sk' => 'sk_SK',
×
NEW
121
                    'sr' => 'sr_RS',
×
122
                    'sv' => 'sv_SE',
×
123
                    'tr' => 'tr_TR',
×
NEW
124
                    'zh' => 'zh_CN',
×
125
                ],
×
126
            ],
×
127
            // Supported languages for content analysis
NEW
128
            'supportedLanguages' => [
×
NEW
129
                'ar',
×
NEW
130
                'ca',
×
NEW
131
                'cs',
×
NEW
132
                'de',
×
NEW
133
                'el',
×
NEW
134
                'en',
×
NEW
135
                'es',
×
NEW
136
                'fa',
×
NEW
137
                'fr',
×
NEW
138
                'he',
×
NEW
139
                'hu',
×
NEW
140
                'id',
×
NEW
141
                'it',
×
NEW
142
                'ja',
×
NEW
143
                'nb',
×
NEW
144
                'nl',
×
NEW
145
                'pl',
×
NEW
146
                'pt',
×
NEW
147
                'ru',
×
NEW
148
                'sk',
×
NEW
149
                'sv',
×
NEW
150
                'tr',
×
NEW
151
            ],
×
152
            'previewSettings' => [
×
153
                'basicAuth' => [
×
154
                    'username' => '',
×
155
                    'password' => '',
×
156
                ],
×
157
            ],
×
158
            'recordMetaTags' => [
×
159
                'description' => Generator\DescriptionGenerator::class,
×
160
                'opengraph' => Generator\OpenGraphGenerator::class,
×
161
                'twitter' => Generator\TwitterGenerator::class,
×
162
            ],
×
163
        ];
×
164
    }
165
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc