We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa3389c commit e364116Copy full SHA for e364116
1 file changed
src/ServiceProvider.php
@@ -5,14 +5,17 @@
5
use Statamic\Entries\Entry;
6
use Statamic\Facades\Collection;
7
use Statamic\Fields\Field;
8
+use Statamic\Fields\Fields;
9
use Statamic\Fields\Value;
10
use Statamic\Fieldtypes\Dictionary;
11
use Statamic\Providers\AddonServiceProvider;
12
+use Statamic\Statamic;
13
14
class ServiceProvider extends AddonServiceProvider
15
{
16
public function bootAddon()
17
18
+ // Fields::default('events_timezone', fn () => Statamic::displayTimezone());
19
collect(Events::setting('collections', [['collection' => 'events']]))
20
->each(fn (array $collection) => Collection::computed(
21
$collection['collection'],
0 commit comments