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

Commit

Permalink
Removed invalid method calls for TideSiteGetCacheIdSubscriber. (#42)
Browse files Browse the repository at this point in the history
* Removed invalid method calls for TideSiteGetCacheIdSubscriber.

On-behalf-of: @salsadigitalauorg <[email protected]>

* Update tide_core to 1.5.0

* update tide_media to 1.5.0
  • Loading branch information
sonnykt committed Sep 3, 2020
1 parent 08de92a commit 87e243b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
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

0 comments on commit 87e243b

Please sign in to comment.