Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tiny_slider
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
project
tiny_slider
Merge requests
!22
Align return type of getEntityFileUrl() with getFileUri().
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Align return type of getEntityFileUrl() with getFileUri().
issue/tiny_slider-3479131:1.1.x
into
1.1.x
Overview
0
Commits
1
Pipelines
1
Changes
1
Open
Serkan Bekdemir
requested to merge
issue/tiny_slider-3479131:1.1.x
into
1.1.x
6 months ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
1.1.x
1.1.x (HEAD)
and
latest version
latest version
a3f3d82f
1 commit,
6 months ago
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/Plugin/Field/FieldFormatter/TinySliderFieldFormatter.php
+
3
−
3
Options
@@ -761,10 +761,10 @@ class TinySliderFieldFormatter extends EntityReferenceFormatterBase implements C
* @param \Drupal\Core\Entity\EntityInterface $entity
* The entity.
*
* @return
\Drupal\Core\Url
|null
* The file UR
L
if available.
* @return
string
|null
* The file UR
I
if available.
*/
protected
function
getEntityFileUrl
(
EntityInterface
$entity
):
?
Url
{
protected
function
getEntityFileUrl
(
EntityInterface
$entity
):
?
string
{
if
(
$entity
->
getEntityTypeId
()
===
'file'
)
{
return
$entity
->
getFileUri
();
}
Loading