1 .. include:: ../../Includes.txt
3 =================================================================================
4 Deprecation: #84387 - Deprecated method and property in SchedulerModuleController
5 =================================================================================
12 The property :php:`$CMD` and the method :php:`addMessage()` in the :php:`SchedulerModuleController`
13 have been marked as deprecated and will be removed in TYPO3 v10.
19 Accessing the property or calling the method will trigger a deprecation warning.
22 Affected Installations
23 ======================
25 Third party code which accesses the property directly or calls the method.
31 Instead of accessing the property :php:`SchedulerModuleController::$CMD`, the method :php:`getCurrentAction()`
32 must be used which returns an instance of the :php:`TYPO3\CMS\Scheduler\Task\Enumeration\Action` enumeration.
34 Instead of calling the method :php:`SchedulerModuleController::addMessage()`, in your additional field providers
35 you can now extend :php:`TYPO3\CMS\Scheduler\AbstractAdditionalFieldProvider` which provides a method :php:`addMessage()`
36 with the same API like before.
38 .. index:: FullyScanned