Completed weather and local time plugin
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php namespace JasonWilliams\CalgaryConditions\Models;
|
||||
|
||||
use Model;
|
||||
|
||||
class Settings extends Model
|
||||
{
|
||||
public $implement = ['System.Behaviors.SettingsModel'];
|
||||
|
||||
// A unique code
|
||||
public $settingsCode = 'jasonwilliams_calgaryconditions_settings';
|
||||
|
||||
// Reference to field configuration
|
||||
public $settingsFields = 'fields.yaml';
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fields:
|
||||
weatherstack_api_key:
|
||||
label: Weatherstack API key
|
||||
description: Your API key, obtained from weaterstack.com
|
||||
Reference in New Issue
Block a user