projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
More updates to stop using dev or alpha or beta versions.
[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();