aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form/Type/RssType.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-06-13 18:48:10 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-04-25 13:46:31 +0200
commit531c8d0a5c55fa93438e227a7d349235fbd31d28 (patch)
treede2ff4a1e09161a5bbec32170471190e836d3bbc /src/Wallabag/CoreBundle/Form/Type/RssType.php
parent522e37ad274361dde697da13a92ff3f846599822 (diff)
downloadwallabag-531c8d0a5c55fa93438e227a7d349235fbd31d28.tar.gz
wallabag-531c8d0a5c55fa93438e227a7d349235fbd31d28.tar.zst
wallabag-531c8d0a5c55fa93438e227a7d349235fbd31d28.zip
Changed RSS to Atom feed and improve paging
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/RssType.php')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/RssType.php36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/RssType.php b/src/Wallabag/CoreBundle/Form/Type/RssType.php
deleted file mode 100644
index 49b31c1e..00000000
--- a/src/Wallabag/CoreBundle/Form/Type/RssType.php
+++ /dev/null
@@ -1,36 +0,0 @@
1<?php
2
3namespace Wallabag\CoreBundle\Form\Type;
4
5use Symfony\Component\Form\AbstractType;
6use Symfony\Component\Form\Extension\Core\Type\SubmitType;
7use Symfony\Component\Form\FormBuilderInterface;
8use Symfony\Component\OptionsResolver\OptionsResolver;
9
10class RssType extends AbstractType
11{
12 public function buildForm(FormBuilderInterface $builder, array $options)
13 {
14 $builder
15 ->add('rss_limit', null, [
16 'label' => 'config.form_rss.rss_limit',
17 'property_path' => 'rssLimit',
18 ])
19 ->add('save', SubmitType::class, [
20 'label' => 'config.form.save',
21 ])
22 ;
23 }
24
25 public function configureOptions(OptionsResolver $resolver)
26 {
27 $resolver->setDefaults([
28 'data_class' => 'Wallabag\CoreBundle\Entity\Config',
29 ]);
30 }
31
32 public function getBlockPrefix()
33 {
34 return 'rss_config';
35 }
36}