Closed
Description
Summary (*)
Magento 2.4-develop
Eliminate plugins for \Magento\Framework\App\ActionInterface
under lib/internal/Magento/Framework/App/Action/Plugin
Reason: plugins should be used to customize behavior of one module from another module. In this case, plugins that belong to Framework customize class behavior of the same Framework.
Examples (*)
The problem is in the code and execution flow being more complex than it could be.
Proposed solution
It is suggested to add desired behavior directly to the place where it's expected to execute. Consider \Magento\Framework\App\FrontController::dispatch()
part of the framework as the place to inject necessary behavior.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done