mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
Merge pull request #1306 from openclassify/metehancelik
multilingual added to xml_feeder-extension seeder
This commit is contained in:
commit
31e55e0ff9
@ -43,7 +43,14 @@ class WidgetSeeder extends Seeder
|
|||||||
[
|
[
|
||||||
'scope' => $widget->getId(),
|
'scope' => $widget->getId(),
|
||||||
'key' => 'anomaly.extension.xml_feed_widget::url',
|
'key' => 'anomaly.extension.xml_feed_widget::url',
|
||||||
'value' => 'https://openclassify.com/posts/rss.xml',
|
'value' => 'https://openclassify.com/{locale}/posts/rss.xml',
|
||||||
|
]
|
||||||
|
);
|
||||||
|
$this->configuration->create(
|
||||||
|
[
|
||||||
|
'scope' => $widget->getId(),
|
||||||
|
'key' => 'anomaly.extension.xml_feed_widget::multilingual_seeder',
|
||||||
|
'value' => true,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user