system.extendConfigFile

Provides an opportunity to modify config files

Example usage:

Event::listen('system.extendConfigFile', function ((string) $path, (array) $config) { if ($path === '/plugins/author/plugin-name/controllers/mycontroller/config_relation.yaml') { unset($config['property_value']['view']['recordUrl']); return $config; } });

Usage

Triggers

Class or file Line
System\Traits\ConfigMaker 83
Copyright © 2024 Winter CMS