Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Removed invalid method calls for TideSiteGetCacheIdSubscriber. #42

Merged
merged 4 commits into from
Dec 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"type": "drupal-module",
"license": "GPL-2.0-or-later",
"require": {
"dpc-sdp/tide_core": "^1.2.6",
"dpc-sdp/tide_media": "^1.2.6"
"dpc-sdp/tide_core": "^1.5.0",
"dpc-sdp/tide_media": "^1.5.0"
},
"suggest": {
"dpc-sdp/tide_api": "^1.2.11"
Expand Down
2 changes: 1 addition & 1 deletion dev-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
# stable version.
#
# Uncomment and set the Dev-Tools's commit value and commit this change.
# export GH_COMMIT=COMMIT_SHA
export GH_COMMIT=a06d079ad232a38cf4cc39feaa4dd8f1df3fe9e2

bash <(curl -L https://raw.githubusercontent.com/dpc-sdp/dev-tools/master/install?"$(date +%s)") "$@"
2 changes: 1 addition & 1 deletion src/EventSubscriber/TideSiteGetCacheIdSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

/**
* Class TideSiteGetRouteSubscriber.
* Class TideSiteGetCacheIdSubscriber.
*
* @package Drupal\tide_site\EventSubscriber
*/
Expand Down
4 changes: 1 addition & 3 deletions src/TideSiteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ public function register(ContainerBuilder $container) {

if (isset($modules['tide_api'])) {
$container->register('tide_site.get_cache_id_subscriber', 'Drupal\tide_site\EventSubscriber\TideSiteGetCacheIdSubscriber')
->addTag('event_subscriber')
->addMethodCall('setContainer', [new Reference('service_container')])
->addMethodCall('setStringTranslation', [new Reference('string_translation')]);
->addTag('event_subscriber');
}

if (isset($modules['jsonapi']) && isset($modules['jsonapi_extras'])) {
Expand Down