summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authore0ipso2018-08-27 05:48:14 (GMT)
committerMateu Aguiló Bosch2018-08-27 05:48:14 (GMT)
commit313c17e469a0468fa293968ad1f48efed329d82e (patch)
tree19fb5fc6c4bd25cd215578a3f524e073f58719bf
parent41813c2ff9a6620d56c41287836db0d9305db4f7 (diff)
Issue #2995217 by e0ipso: Rename jsonapi.entity.to_jsonapi to jsonapi_extras.entity.to_jsonapi8.x-2.7
-rw-r--r--jsonapi_extras.services.yml2
-rw-r--r--tests/src/Kernel/EntityToJsonApiTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/jsonapi_extras.services.yml b/jsonapi_extras.services.yml
index bab48d2..5fb76b8 100644
--- a/jsonapi_extras.services.yml
+++ b/jsonapi_extras.services.yml
@@ -30,6 +30,6 @@ services:
tags:
- { name: event_subscriber }
- jsonapi.entity.to_jsonapi:
+ jsonapi_extras.entity.to_jsonapi:
class: Drupal\jsonapi_extras\EntityToJsonApi
arguments: ['@jsonapi.serializer_do_not_use_removal_imminent', '@jsonapi.resource_type.repository', '@current_user', '@request_stack', '%jsonapi.base_path%']
diff --git a/tests/src/Kernel/EntityToJsonApiTest.php b/tests/src/Kernel/EntityToJsonApiTest.php
index 89f7f24..5ab6dc0 100644
--- a/tests/src/Kernel/EntityToJsonApiTest.php
+++ b/tests/src/Kernel/EntityToJsonApiTest.php
@@ -163,7 +163,7 @@ class EntityToJsonApiTest extends JsonapiKernelTestBase {
],
]);
$this->role->save();
- $this->sut = $this->container->get('jsonapi.entity.to_jsonapi');
+ $this->sut = $this->container->get('jsonapi_extras.entity.to_jsonapi');
}
/**