Automatically update the created date for talks

Automatically update the created dates for talk nodes so that they match
the most-future event. This means that the talks are ordered correctly
on the Talks page.
This commit is contained in:
Oliver Davies 2020-05-08 18:46:31 +01:00
parent fe5340d1c7
commit 7a9bf80a89
18 changed files with 412 additions and 6 deletions

104
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "48b1c5f01bc8e5486f59462cb6b68de4",
"content-hash": "2800d415e7b235b84c6922ceaa045ed8",
"packages": [
{
"name": "asm89/stack-cors",
@ -2177,6 +2177,108 @@
"source": "https://git.drupalcode.org/project/entity_reference_revisions"
}
},
{
"name": "drupal/hook_event_dispatcher",
"version": "1.28.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/hook_event_dispatcher.git",
"reference": "8.x-1.28"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/hook_event_dispatcher-8.x-1.28.zip",
"reference": "8.x-1.28",
"shasum": "a8e836015f27c87ad0584452cea3bfb02f0e4f2b"
},
"require": {
"drupal/core": "^8 || ^9"
},
"require-dev": {
"drupal/coder": "8.3.1",
"drupal/core": "^8.8",
"drupal/eck": "^1.0@alpha",
"drupal/paragraphs": "^1.10",
"drupal/webform": "*",
"mockery/mockery": "^1.3",
"php-parallel-lint/php-parallel-lint": "^1.0",
"phpmd/phpmd": "2.7.0",
"phpunit/phpunit": "^7",
"squizlabs/php_codesniffer": "^3.4"
},
"suggest": {
"drupal/paragraphs": "Enables the creation of paragraphs entities.",
"drupal/token": "Provides additional tokens not supported by core (most notably fields), as well as a UI for browsing tokens."
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.28",
"datestamp": "1588695401",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"autoload": {
"psr-4": {
"Drupal\\hook_event_dispatcher\\": "src/",
"Drupal\\webform_event_dispatcher\\": "modules/webform_event_dispatcher/src/"
}
},
"autoload-dev": {
"psr-4": {
"Drupal\\Tests\\hook_event_dispatcher\\": "tests/src/",
"Drupal\\Tests\\webform_event_dispatcher\\": "modules/webform_event_dispatcher/tests/src/",
"Drupal\\Tests\\": "vendor/drupal/core/tests/Drupal/Tests",
"Drupal\\TestTools\\": "vendor/drupal/core/tests/Drupal/TestTools",
"Drupal\\views\\": "vendor/drupal/core/modules/views/src/"
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"scripts": {
"test": [
"@phplint",
"@phpunit",
"@phpcs",
"@phpmd"
],
"phplint": [
"vendor/bin/parallel-lint --exclude vendor/ --exclude .idea/ -e php,module,inc,install,profile,theme ."
],
"phpunit": [
"vendor/bin/phpunit --configuration=phpunit.xml"
],
"phpcs": [
"vendor/bin/phpcs --ignore=vendor/,.idea/ --standard=vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml --extensions=php,module,inc,install,profile,theme --report=full --warning-severity=0 ."
],
"phpcbf": [
"vendor/bin/phpcbf --ignore=vendor/,.idea/ --standard=vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml --extensions=php,module,inc,install,profile,theme ."
],
"phpmd": [
"vendor/bin/phpmd --exclude vendor/,.idea/ --suffixes php,module,inc,install,profile,theme . text phpmd.xml"
]
},
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "pdenooijer",
"homepage": "https://www.drupal.org/user/3175437"
},
{
"name": "robin.ingelbrecht",
"homepage": "https://www.drupal.org/user/2339074"
}
],
"description": "Dispatches events for several drupal core hooks.",
"homepage": "https://www.drupal.org/project/hook_event_dispatcher",
"support": {
"source": "https://git.drupalcode.org/project/hook_event_dispatcher"
}
},
{
"name": "drupal/markdown",
"version": "1.3.0",