Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
entity_share-2856713
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
entity_share-2856713
Commits
48b38887
Commit
48b38887
authored
5 years ago
by
Mike Stivaktakis
Committed by
Florent Torregrosa
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3088307
by msti, Grimreaper: Compatibility with file_entity module
parent
229450f0
No related branches found
Branches containing commit
Tags
7.x-1.0-beta3
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/entity_share_client/src/Service/JsonapiHelper.php
+2
-2
2 additions, 2 deletions
modules/entity_share_client/src/Service/JsonapiHelper.php
with
2 additions
and
2 deletions
modules/entity_share_client/src/Service/JsonapiHelper.php
+
2
−
2
View file @
48b38887
...
...
@@ -336,8 +336,8 @@ class JsonapiHelper implements JsonapiHelperInterface {
public
function
handlePhysicalFiles
(
ContentEntityInterface
$entity
,
array
&
$data
)
{
if
(
$entity
instanceof
FileInterface
)
{
$resource_type
=
$this
->
resourceTypeRepository
->
get
(
'file'
,
'file'
$entity
->
getEntityTypeId
()
,
$entity
->
bundle
()
);
$uri_public_name
=
$resource_type
->
getPublicName
(
'uri'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment