Completed
Pull Request — master (#5)
by Serhii
11:00 queued 04:37
created

getTagCloudWidgetConfig()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * MIT License
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
namespace SprykerEco\Yves\FactFinderWebComponents;
9
10
use Spryker\Yves\Kernel\AbstractBundleConfig;
11
use SprykerEco\Shared\FactFinderWebComponents\FactFinderWebComponentsConstants;
12
13
class FactFinderWebComponentsConfig extends AbstractBundleConfig implements WebComponentsConfigInterface
14
{
15
    /**
16
     * @inheritdoc
17
     *
18
     * @return array
19
     */
20
    public function getCommunicationConfig(): array
21
    {
22
        return $this->get(FactFinderWebComponentsConstants::COMMUNICATION_WIDGET_CONFIG);
23
    }
24
25
    /**
26
     * @inheritdoc
27
     *
28
     * @return array
29
     */
30
    public function getSearchBoxConfig(): array
31
    {
32
        return $this->get(FactFinderWebComponentsConstants::SEARCH_BOX_WIDGET_CONFIG);
33
    }
34
35
    /**
36
     * @inheritdoc
37
     *
38
     * @return array
39
     */
40
    public function getBreadcrumbConfig(): array
41
    {
42
        return $this->get(FactFinderWebComponentsConstants::BREADCRUMB_WIDGET_CONFIG);
43
    }
44
45
    /**
46
     * @inheritdoc
47
     *
48
     * @return array
49
     */
50
    public function getSearchButtonConfig(): array
51
    {
52
        return $this->get(FactFinderWebComponentsConstants::SEARCH_BUTTON_WIDGET_CONFIG);
53
    }
54
55
    /**
56
     * @inheritdoc
57
     *
58
     * @return array
59
     */
60
    public function getRecordListConfig(): array
61
    {
62
        return $this->get(FactFinderWebComponentsConstants::RECORD_LIST_WIDGET_CONFIG);
63
    }
64
65
    /**
66
     * @inheritdoc
67
     *
68
     * @return array
69
     */
70
    public function getCheckoutTrackingConfig(): array
71
    {
72
        return $this->get(FactFinderWebComponentsConstants::CHECKOUT_TRACKING_CONFIG);
73
    }
74
75
    /**
76
     * @inheritdoc
77
     *
78
     * @return array
79
     */
80
    public function getRecordConfig(): array
81
    {
82
        return $this->get(FactFinderWebComponentsConstants::RECORD_WIDGET_CONFIG);
83
    }
84
85
    /**
86
     * @inheritdoc
87
     *
88
     * @return array
89
     */
90
    public function getSuggestConfig(): array
91
    {
92
        return $this->get(FactFinderWebComponentsConstants::SUGGEST_CONFIG);
93
    }
94
95
    /**
96
     * @inheritdoc
97
     *
98
     * @return array
99
     */
100
    public function getAsnGroupWidgetConfig(): array
101
    {
102
        return $this->get(FactFinderWebComponentsConstants::ASN_GROUP_WIDGET_CONFIG);
103
    }
104
105
    /**
106
     * @inheritdoc
107
     *
108
     * @return array
109
     */
110
    public function getAsnGroupElementConfig(): array
111
    {
112
        return $this->get(FactFinderWebComponentsConstants::ASN_GROUP_ELEMENT_CONFIG);
113
    }
114
115
    /**
116
     * @inheritdoc
117
     *
118
     * @return array
119
     */
120
    public function getAsnRemoveAllFilterConfig(): array
121
    {
122
        return $this->get(FactFinderWebComponentsConstants::ASN_REMOVE_ALL_FILTER_CONFIG);
123
    }
124
125
    /**
126
     * @inheritdoc
127
     *
128
     * @return array
129
     */
130
    public function getAsnSliderConfig(): array
131
    {
132
        return $this->get(FactFinderWebComponentsConstants::ASN_SLIDER_CONFIG);
133
    }
134
135
    /**
136
     * @inheritdoc
137
     *
138
     * @return array
139
     */
140
    public function getAsnSliderControlConfig(): array
141
    {
142
        return $this->get(FactFinderWebComponentsConstants::RECORD_WIDGET_CONFIG);
143
    }
144
145
    /**
146
     * @inheritdoc
147
     *
148
     * @return array
149
     */
150
    public function getPagingWidgetConfig(): array
151
    {
152
        return $this->get(FactFinderWebComponentsConstants::PAGING_WIDGET_CONFIG);
153
    }
154
155
    /**
156
     * @inheritdoc
157
     *
158
     * @return array
159
     */
160
    public function getProductsPerPageWidgetConfig(): array
161
    {
162
        return $this->get(FactFinderWebComponentsConstants::PRODUCTS_PER_PAGE_WIDGET_CONFIG);
163
    }
164
165
    /**
166
     * @inheritdoc
167
     *
168
     * @return array
169
     */
170
    public function getSortBoxWidgetConfig(): array
171
    {
172
        return $this->get(FactFinderWebComponentsConstants::SORT_BOX_WIDGET_CONFIG);
173
    }
174
175
    /**
176
     * @inheritdoc
177
     *
178
     * @return array
179
     */
180
    public function getSimilarProductsConfig(): array
181
    {
182
        return array_merge(
183
            $this->get(FactFinderWebComponentsConstants::SIMILAR_PRODUCT_ID_CONFIG),
184
            $this->get(FactFinderWebComponentsConstants::SIMILAR_PRODUCTS_WIDGET_CONFIG)
185
        );
186
    }
187
188
    /**
189
     * @inheritdoc
190
     *
191
     * @return array
192
     */
193
    public function getSimilarProductIdConfig(): array
194
    {
195
        return $this->get(FactFinderWebComponentsConstants::SIMILAR_PRODUCT_ID_CONFIG);
196
    }
197
198
    /**
199
     * @inheritdoc
200
     *
201
     * @return array
202
     */
203
    public function getRecommendationConfig(): array
204
    {
205
        return array_merge(
206
            $this->get(FactFinderWebComponentsConstants::RECOMMENDATION_CONFIG),
207
            $this->get(FactFinderWebComponentsConstants::RECOMMENDATION_RECORD_ID_CONFIG)
208
        );
209
    }
210
211
    /**
212
     * @inheritdoc
213
     *
214
     * @return array
215
     */
216
    public function getRecommendationRecordIdConfig(): array
217
    {
218
        return $this->get(FactFinderWebComponentsConstants::RECOMMENDATION_RECORD_ID_CONFIG);
219
    }
220
221
    /**
222
     * @inheritdoc
223
     *
224
     * @return array
225
     */
226
    public function getHeaderNavigationWidgetConfig(): array
227
    {
228
        return $this->get(FactFinderWebComponentsConstants::HEADER_NAVIGATION_WIDGET_CONFIG);
229
    }
230
231
    /**
232
     * @inheritdoc
233
     *
234
     * @return array
235
     */
236
    public function getTagCloudWidgetConfig(): array
237
    {
238
        return $this->get(FactFinderWebComponentsConstants::TAG_CLOUD_WIDGET_CONFIG);
239
    }
240
241
    /**
242
     * @inheritdoc
243
     *
244
     * @return array
245
     */
246
    public function getPushedProductsWidgetConfig(): array
247
    {
248
        return $this->get(FactFinderWebComponentsConstants::PUSHED_PRODUCTS_WIDGET_CONFIG);
249
    }
250
251
    /**
252
     * @inheritdoc
253
     *
254
     * @return array
255
     */
256
    public function getCampaignWidgetConfig(): array
257
    {
258
        return $this->get(FactFinderWebComponentsConstants::CAMPAIGN_WIDGET_CONFIG);
259
    }
260
}
261