@@ -48,7 +48,7 @@ |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | // Write YAML to a file. |
51 | - $panels_file = $base_path . '/data/panelizer.panels_display.node.'.$node->uuid() . '.yml'; |
|
51 | + $panels_file = $base_path.'/data/panelizer.panels_display.node.'.$node->uuid().'.yml'; |
|
52 | 52 | $configuration = \Drupal::service('panelizer')->getPanelsDisplay($node, 'full')->getConfiguration(); |
53 | 53 | $yaml = \Symfony\Component\Yaml\Yaml::dump($configuration, 99, 2); |
54 | 54 | file_put_contents($panels_file, $yaml); |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | |
22 | 22 | public function prepareRow(Row $row) { |
23 | 23 | if ($image_path = $row->getSourceProperty('Headshot')) { |
24 | - $path = dirname($this->configuration['path']) . '/images/' . $image_path; |
|
24 | + $path = dirname($this->configuration['path']).'/images/'.$image_path; |
|
25 | 25 | |
26 | 26 | $data = file_get_contents($path); |
27 | 27 | $uri = file_build_uri($image_path); |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $links_raw = explode(',', $value); |
34 | 34 | $links = []; |
35 | 35 | foreach ($links_raw as $link) { |
36 | - list($uri,$title) = explode('|', $link); |
|
36 | + list($uri, $title) = explode('|', $link); |
|
37 | 37 | $links[] = [ |
38 | 38 | 'uri' => $uri, |
39 | 39 | 'title' => $title, |
@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | public function prepareRow(Row $row) { |
23 | 23 | if ($image_path = $row->getSourceProperty('Hero Image')) { |
24 | - $path = dirname($this->configuration['path']) . '/images/' . $image_path; |
|
24 | + $path = dirname($this->configuration['path']).'/images/'.$image_path; |
|
25 | 25 | |
26 | 26 | $data = file_get_contents($path); |
27 | 27 | $uri = file_build_uri($image_path); |