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