Mercurial > hg > isophonics-drupal-site
diff core/modules/aggregator/src/Entity/Feed.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/core/modules/aggregator/src/Entity/Feed.php Fri Feb 23 15:51:18 2018 +0000 +++ b/core/modules/aggregator/src/Entity/Feed.php Fri Feb 23 15:52:07 2018 +0000 @@ -168,6 +168,7 @@ $fields['refresh'] = BaseFieldDefinition::create('list_integer') ->setLabel(t('Update interval')) ->setDescription(t('The length of time between feed updates. Requires a correctly configured cron maintenance task.')) + ->setDefaultValue(3600) ->setSetting('unsigned', TRUE) ->setRequired(TRUE) ->setSetting('allowed_values', $period)