| @@ 343-351 (lines=9) @@ | ||
| 340 | ], |
|
| 341 | 'terms.theme' => [ |
|
| 342 | 'name' => 'thema', |
|
| 343 | 'include' => function ($event) { |
|
| 344 | if (property_exists($event, 'terms')) { |
|
| 345 | foreach ($event->terms as $term) { |
|
| 346 | if ($term->domain && $term->label && $term->domain == 'theme') { |
|
| 347 | return $term->label; |
|
| 348 | } |
|
| 349 | } |
|
| 350 | } |
|
| 351 | }, |
|
| 352 | 'property' => 'terms.theme' |
|
| 353 | ], |
|
| 354 | 'terms.eventtype' => [ |
|
| @@ 356-364 (lines=9) @@ | ||
| 353 | ], |
|
| 354 | 'terms.eventtype' => [ |
|
| 355 | 'name' => 'soort aanbod', |
|
| 356 | 'include' => function ($event) { |
|
| 357 | if (property_exists($event, 'terms')) { |
|
| 358 | foreach ($event->terms as $term) { |
|
| 359 | if ($term->domain && $term->label && $term->domain == 'eventtype') { |
|
| 360 | return $term->label; |
|
| 361 | } |
|
| 362 | } |
|
| 363 | } |
|
| 364 | }, |
|
| 365 | 'property' => 'terms.eventtype' |
|
| 366 | ], |
|
| 367 | 'created' => [ |
|