the way QueryFactory and Query work with namespaces and classes needs to be documented

Created on 12 April 2023, about 1 year ago
Updated 2 May 2023, about 1 year ago

Problem/Motivation

The entity query system (and possibly the main query system too) work with a list of namespaces to find the right class:

    $this->namespaces = QueryBase::getNamespaces($this);

...

    $class = QueryBase::getClass($this->namespaces, 'Query');

This needs documenting, as it's a little bit convoluted.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.1

Component
Documentation 

Last updated 38 minutes ago

No maintainer
Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024