The ApiResult class has some static function needing the content language.
Most cases of ApiResult::validateValue are called from non-static context, but ApiResult::setValue is calling it from static context.
The ApiResult class has some static function needing the content language.
Most cases of ApiResult::validateValue are called from non-static context, but ApiResult::setValue is calling it from static context.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T259960 Inject services into API modules and special pages | |||
Open | None | T286156 How to use service injection in context of static function from ApiResult class? |