Skip to content
Snippets Groups Projects
Commit 0b3af7cd authored by Gaus Surahman's avatar Gaus Surahman
Browse files

Minor fixes

parent 16fc6cd5
Branches
Tags 3.0.0
No related merge requests found
Pipeline #139711 passed
......@@ -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.
}
}
......@@ -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')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment