@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | 'property' => 'question', // or any field in your media entity |
| 148 | 148 | 'label' => 'admin.page.faq.label', |
| 149 | 149 | 'btn_add' => true, |
| 150 | - 'to_string_callback' => function ($entity) { |
|
| 150 | + 'to_string_callback' => function($entity) { |
|
| 151 | 151 | return $entity->getQuestion(); |
| 152 | 152 | }, |
| 153 | 153 | ]); |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | 'property' => 'title', // or any field in your media entity |
| 166 | 166 | 'label' => 'admin.page.relatedPage.label', |
| 167 | 167 | 'btn_add' => false, |
| 168 | - 'to_string_callback' => function ($entity) { |
|
| 168 | + 'to_string_callback' => function($entity) { |
|
| 169 | 169 | return $entity->getTitle(); |
| 170 | 170 | }, |
| 171 | 171 | ] |