Skip to content
Snippets Groups Projects
Commit 1dffc7ca authored by Justin Toupin's avatar Justin Toupin
Browse files

minor change for cs

parent df9278d7
No related branches found
No related tags found
1 merge request!103Issue #3295875: Add a new dedicated permission for Layout paragraphs configurations
...@@ -60,7 +60,7 @@ class LayoutParagraphsRendererService { ...@@ -60,7 +60,7 @@ class LayoutParagraphsRendererService {
*/ */
public function renderLayoutSection(array &$build, Paragraph $paragraph, string $view_mode = 'default') { public function renderLayoutSection(array &$build, Paragraph $paragraph, string $view_mode = 'default') {
if (!LayoutParagraphsComponent::isLayoutComponent($paragraph)) { if (!LayoutParagraphsComponent::isLayoutComponent($paragraph)) {
// @Todo Throw an exception if $paragraph does not have a layout applied. // @todo Throw an exception if $paragraph does not have a layout applied.
return []; return [];
} }
if ($paragraph->_referringItem) { if ($paragraph->_referringItem) {
......
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