Something went wrong. Try again.
Easy Address Field is the easiest way to add an address to your entries.
Something went wrong. Try again.
123456789101112131415161718192021222324<?php
namespace studioespresso\easyaddressfield;
use CraftCms\Cms\Plugin\PluginSettings;
class EasyAddressFieldSettingsModel extends PluginSettings{ public string $geoCodingService = 'nomanatim';
public ?string $googleApiKey = null;
public bool $enableGeoCodingForCraftElements = false;
public function getRules(): array { return [ 'geoCodingService' => ['required', 'string'], 'googleApiKey' => ['nullable', 'string'], 'enableGeoCodingForCraftElements' => ['boolean'], ]; }}