@@ 187-194 (lines=8) @@ | ||
184 | $controller->implement[] = RelationController::class; |
|
185 | $relationConfig = '$/' . self::DIRECTORY_KEY . '/controllers/series/config_posts_relation.yaml'; |
|
186 | ||
187 | if (property_exists($controller, 'relationConfig')) { |
|
188 | $controller->relationConfig = $controller->mergeConfig( |
|
189 | $controller->relationConfig, |
|
190 | $relationConfig |
|
191 | ); |
|
192 | } else { |
|
193 | $controller->addDynamicProperty('relationConfig', $relationConfig); |
|
194 | } |
|
195 | }); |
|
196 | } |
|
197 | ||
@@ 207-214 (lines=8) @@ | ||
204 | $controller->implement[] = RelationController::class; |
|
205 | $relationConfig = '$/' . self::DIRECTORY_KEY . '/controllers/category/config_relation.yaml'; |
|
206 | ||
207 | if (property_exists($controller, 'relationConfig')) { |
|
208 | $controller->relationConfig = $controller->mergeConfig( |
|
209 | $controller->relationConfig, |
|
210 | $relationConfig |
|
211 | ); |
|
212 | } else { |
|
213 | $controller->addDynamicProperty('relationConfig', $relationConfig); |
|
214 | } |
|
215 | ||
216 | $formConfig = '$/' . self::DIRECTORY_KEY . '/controllers/category/config_form.yaml'; |
|
217 |