Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
blazy
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
blazy
Commits
0b3af7cd
Commit
0b3af7cd
authored
Apr 6, 2024
by
Gaus Surahman
Browse files
Options
Downloads
Patches
Plain Diff
Minor fixes
parent
16fc6cd5
Branches
Branches containing commit
Tags
3.0.0
Tags containing commit
No related merge requests found
Pipeline
#139711
passed
Apr 6, 2024
Stage: build
Stage: validate
Stage: test
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Field/BlazyEntityMediaBase.php
+7
-8
7 additions, 8 deletions
src/Field/BlazyEntityMediaBase.php
src/Field/BlazyEntityVanillaBase.php
+0
-1
0 additions, 1 deletion
src/Field/BlazyEntityVanillaBase.php
with
7 additions
and
9 deletions
src/Field/BlazyEntityMediaBase.php
+
7
−
8
View file @
0b3af7cd
...
...
@@ -66,7 +66,6 @@ abstract class BlazyEntityMediaBase extends BlazyEntityVanillaBase {
protected
function
withElementDetail
(
array
$build
):
array
{
[
'#entity'
=>
$entity
,
'#langcode'
=>
$langcode
,
'#settings'
=>
$settings
,
]
=
$build
;
...
...
@@ -278,13 +277,6 @@ abstract class BlazyEntityMediaBase extends BlazyEntityVanillaBase {
+
parent
::
getPluginScopes
();
}
/**
* Build extra elements.
*/
protected
function
withElementExtra
(
array
&
$element
):
void
{
// Do nothing, let extenders do their jobs.
}
/**
* Build thumbnail navigation such as for Slick/ Splide asnavfor.
*
...
...
@@ -295,4 +287,11 @@ abstract class BlazyEntityMediaBase extends BlazyEntityVanillaBase {
* }
*/
/**
* Build extra elements.
*/
protected
function
withElementExtra
(
array
&
$element
):
void
{
// Do nothing, let extenders do their jobs.
}
}
This diff is collapsed.
Click to expand it.
src/Field/BlazyEntityVanillaBase.php
+
0
−
1
View file @
0b3af7cd
...
...
@@ -315,7 +315,6 @@ abstract class BlazyEntityVanillaBase extends EntityReferenceFormatterBase {
$delta
=
$build
[
'#delta'
];
$entity
=
$build
[
'#entity'
];
$langcode
=
$build
[
'#langcode'
];
$settings
=
$build
[
'#settings'
];
if
(
method_exists
(
$this
,
'withElementOverride'
))
{
...
...
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