Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This plugin allows you to add an email contact form to your website.

## Requirements

This plugin requires Craft CMS 4.0.0+ or 5.0.0+.
This plugin requires Craft CMS 4.0.0+ or 5.0.0+ or 6.0.0-alpha.1+ with the `craftcms/yii2-adapter` package.

## Installation

Expand Down Expand Up @@ -169,7 +169,7 @@ return [

### Overriding plugin settings

If you create a [config file](https://craftcms.com/docs/4.x/config/) in your `config/` folder called `contact-form.php`, you can override
If you create a [config file](https://craftcms.com/docs/4.x/config/) in your `config/` folder (or `config/craft/` if you’re using Craft CMS v6) called `contact-form.php`, you can override
the plugin’s settings in the Control Panel. Since that config file is fully [multi-environment](https://craftcms.com/docs/4.x/config/#multi-environment-configs) aware, this is
a handy way to have different settings across multiple environments.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"prefer-stable": true,
"require": {
"php": "^8.0.2",
"craftcms/cms": "^4.0.0-beta.1|^5.0.0-beta.1"
"craftcms/cms": "^4.0.0-beta.1|^5.0.0-beta.1|^6.0.0-alpha.1"
},
"require-dev": {
"craftcms/ecs": "dev-main",
Expand Down
2 changes: 1 addition & 1 deletion src/models/Submission.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Submission extends Model
/**
* @inheritdoc
*/
public function attributeLabels()
public function attributeLabels(): array
{
return [
'fromName' => \Craft::t('contact-form', 'Your Name'),
Expand Down
Loading