Deprecation: #84387 - Deprecated method and property in SchedulerModuleController

See forge#84387


The property $CMD and the method addMessage() in the SchedulerModuleController have been marked as deprecated and will be removed in TYPO3 v10.


Accessing the property or calling the method will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

Third party code which accesses the property directly or calls the method.


Instead of accessing the property SchedulerModuleController::$CMD, the method getCurrentAction() must be used which returns an instance of the TYPO3\CMS\Scheduler\Task\Enumeration\Action enumeration.

Instead of calling the method SchedulerModuleController::addMessage(), in your additional field providers you can now extend TYPO3\CMS\Scheduler\AbstractAdditionalFieldProvider which provides a method addMessage() with the same API like before.