Project

General

Profile

Actions

Feature #91941

closed

More Events during Extension Configuration

Added by Christian Meyer over 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Start date:
2020-08-06
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
settings, events
Complexity:
Sprint Focus:

Description

For extension development, it would be helpful if we had an event for reacting to changes in the extension configuration (in ext_conf_template.txt).

To be specific, I have two cases where changing a setting requires an immediate action from my extension.

1. I have a setting that sets a token. It's required that my extension looks for new data immediately when the token changes. Since there's no event, I had to settle for a workaround where I keep another copy of the token in the system registry and perform an update when my controller is called and there's a difference between the registry and the configuration.

2. I have a setting that causes a change to my setup.typoscript. It determines, among other things, whether some additional css is loaded. I've noticed that the css load changes only take effect after the frontend cache is flushed. It would be nice if my extension could take care of flushing the cache in a "settingsChangedEvent" of some kind.

Actions

Also available in: Atom PDF