diff options
author | polo <ordipolo@gmx.fr> | 2025-09-26 12:04:02 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-09-26 12:04:02 +0200 |
commit | e93cd6c352a8e4fbb4e1174bdb15484adbe4c0f7 (patch) | |
tree | 7fd1591a25d3557f5869a688bad28db533d6b414 /src/view/NewsBlockBuilder.php | |
parent | f977313ff095a10478291334109d9aae40528a34 (diff) | |
download | cms-e93cd6c352a8e4fbb4e1174bdb15484adbe4c0f7.zip |
suppression table Presentation
Diffstat (limited to 'src/view/NewsBlockBuilder.php')
-rw-r--r-- | src/view/NewsBlockBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/NewsBlockBuilder.php b/src/view/NewsBlockBuilder.php index e7bbec9..963afe6 100644 --- a/src/view/NewsBlockBuilder.php +++ b/src/view/NewsBlockBuilder.php | |||
@@ -22,7 +22,7 @@ class NewsBlockBuilder extends AbstractBuilder | |||
22 | } | 22 | } |
23 | 23 | ||
24 | // stratégie d'affichage du contenu (utilisation de méthodes ou de classe List, GridPresentation, etc) | 24 | // stratégie d'affichage du contenu (utilisation de méthodes ou de classe List, GridPresentation, etc) |
25 | $section_class = $node->getNodeData()->getPresentation()->getName(); // = list, grid , mosaic ou carousel | 25 | $section_class = $node->getNodeData()->getPresentation(); // = list, grid , mosaic ou carousel |
26 | $cols_min_width = ''; | 26 | $cols_min_width = ''; |
27 | if($section_class === 'grid'){ | 27 | if($section_class === 'grid'){ |
28 | $min_width = $node->getNodeData()->getColsMinWidth(); | 28 | $min_width = $node->getNodeData()->getColsMinWidth(); |