By sjpagan on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
1.0.x
Introduced in version:
1.0.0-beta1
Description:
The AI Disclosure widget and the CSV export command now run as services. Their static methods from 1.0.0-alpha3 still work and call the new code. They are removed in 2.0.0.
Deprecated methods and their replacements:
AiDisclosureDefaultWidget::acceptSubmit(): useAiDisclosureDefaultWidget::submitAccept().AiDisclosureDefaultWidget::dismissSubmit(): useAiDisclosureDefaultWidget::submitDismiss().DisclosureReportExportCommand::build(): usebuildCommand()on theDrupal\ai_disclosure_csv_export\DisclosureReportExportCommandservice.DisclosureReportExportCommand::preRender(): usefillCount()on the same service.
Sites that only use the module have nothing to do. Custom code that calls these methods should move to the replacements before 2.0.0.
Impacts:
Module developers