<?php // $file = /home/bluedoor/www/dev/wp-content/plugins/yooessentials/modules/source/providers/Rss/config.json

return [
  'name' => 'rss', 
  'title' => 'RSS', 
  'description' => 'Source based on a RSS feed.', 
  'group' => 'Structured Data', 
  'icon' => $filter->apply('url', '~yooessentials_url/modules/source/providers/Rss/icon.svg', $file), 
  'endpoints' => [
    'presave' => 'yooessentials/source/rss'
  ], 
  'fields' => [
    'name' => [
      'label' => 'Name', 
      'description' => 'A name to identify this source.', 
      'attrs' => [
        'autofocus' => true, 
        'placeholder' => 'RSS'
      ]
    ], 
    'url' => [
      'label' => 'URL', 
      'description' => 'The URL to the RSS feed.'
    ], 
    'cache_default' => $config->get('yooessentials.source.fields.cache_default')
  ]
];
