projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
276b5c27a73dac5660d43f6cae0c16e7439fc7d9
[yaffs-website]
/
vendor
/
drush
/
drush
/
tests
/
resources
/
queue_script.php
1
<?php
2
3
use Drupal\aggregator\Entity\Feed;
4
5
// Create a new feed.
6
$feed = Feed::create([
7
'title' => 'test',
8
'url' => 'http://drupal.org/project/issues/rss/drupal?categories=All',
9
'uid' => 2,
10
'refresh' => 3600,
11
]);
12
$feed->save();
13
14
// Let cron call QueueInterface::createItem() for us.
15
aggregator_cron();