Skip to content
Snippets Groups Projects
Commit 5e87f761 authored by Jeffrey Fortune's avatar Jeffrey Fortune
Browse files

remove , was a debug var

parent f8783963
Branches task/media
Tags 8.x-1.4
No related merge requests found
...@@ -228,7 +228,6 @@ class BgImgFieldFormatter extends ResponsiveImageFormatter implements ContainerF ...@@ -228,7 +228,6 @@ class BgImgFieldFormatter extends ResponsiveImageFormatter implements ContainerF
if (!empty($css)) { if (!empty($css)) {
$current_path = \Drupal::request()->getRequestUri(); $current_path = \Drupal::request()->getRequestUri();
if(preg_match('/node\/(\d+)\/layout/', $current_path, $matches)) { if(preg_match('/node\/(\d+)\/layout/', $current_path, $matches)) {
$n = null;
$elements = [ $elements = [
'#theme' => 'background_style', '#theme' => 'background_style',
'#css' => $css, '#css' => $css,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment