Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By catch on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.2.x
Description:
The $modules property on BrowserTestBase and KernelTestBase is now protected.
Existing tests can be updated to change the visibility of this property from public to protected, however since PHP allows subclasses to increase visibility of properties, the change is optional.
Before:
public static $modules = ['my_module'];
After:
protected static $modules = ['my_module'];
Impacts:
Module developers