@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | 'property' => 'question', // or any field in your media entity |
| 157 | 157 | 'label' => 'admin.page.faq.label', |
| 158 | 158 | 'btn_add' => true, |
| 159 | - 'to_string_callback' => function ($entity) { |
|
| 159 | + 'to_string_callback' => function($entity) { |
|
| 160 | 160 | return $entity->getQuestion(); |
| 161 | 161 | }, |
| 162 | 162 | ]); |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | 'property' => 'title', // or any field in your media entity |
| 175 | 175 | 'label' => 'admin.page.relatedPage.label', |
| 176 | 176 | 'btn_add' => false, |
| 177 | - 'to_string_callback' => function ($entity) { |
|
| 177 | + 'to_string_callback' => function($entity) { |
|
| 178 | 178 | return $entity->getTitle(); |
| 179 | 179 | }, |
| 180 | 180 | ] |