From 9d09dbc0f4f7477963d24d62c1c92e8f75c341d6 Mon Sep 17 00:00:00 2001 From: xjm <xjm@65776.no-reply.drupal.org> Date: Fri, 27 Sep 2024 15:21:32 +0200 Subject: [PATCH] Issue #3458565 by nishtha.pradhan, sadamafridi, joachim, smustgrave, vinmayiswamy, rodrigoaguilera, dksdev01, bibliophileaxe, devjuarez: TablesInterface::addField() doesn't document that $field can contain relationships --- core/lib/Drupal/Core/Entity/Query/Sql/TablesInterface.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/lib/Drupal/Core/Entity/Query/Sql/TablesInterface.php b/core/lib/Drupal/Core/Entity/Query/Sql/TablesInterface.php index bd8e0de36279..ed34988554f3 100644 --- a/core/lib/Drupal/Core/Entity/Query/Sql/TablesInterface.php +++ b/core/lib/Drupal/Core/Entity/Query/Sql/TablesInterface.php @@ -11,10 +11,10 @@ interface TablesInterface { * Adds a field to a database query. * * @param string $field - * If it doesn't contain a dot, then an entity base field name. If it - * contains a dot, then either field name dot field column or field name dot - * delta dot field column. Delta can be a numeric value or a "%delta" for - * any value. + * The field to add to the query. + * + * For comprehensive documentation on the format, see + * \Drupal\Core\Entity\Query\QueryInterface::condition(). * @param string $type * Join type, can either be INNER or LEFT. * @param string $langcode -- GitLab