Logo Mark

Introduction

Deployment

Unlike most plugins, you can continue to configure the Matrix Field Preview plugin in production via the settings page, even when "allow admin changes" is set to false.

This means that you don't need to switch your production instance between "allow admin" to make changes to your previews - you have access to the settings from any environment.

You can always access the settings at:

/admin/matrix-field-preview/settings

Background

This is a design decision stemming from the fact that the configuration for the plugin is currently handled in the database using custom tables, and not the project config file.

The reasoning behind this is that it's common for assets to differ between local, staging and production environments. For example, local development might use an on-disk volume while production might have S3 assets. Syncing the Matrix Field Previews via the traditional project config YAML file would not allow for this flexibility.

That said, moving configuration to the project config file has been requested a number of times and it's something I'm working on.

So if you would prefer to handle configuration via the project config file, please let me know in the Github discussions thread here as it's a feature that is currently under consideration.

Previous
Usage
Next
Neo