Skip to content
Snippets Groups Projects
Commit 79ee24dd authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2644734 by znerol: Replace confusing comment in PagerSelectExtender::execute()

parent d04f659f
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -64,10 +64,9 @@ public function __construct(SelectInterface $query, Connection $connection) {
* to it.
*/
public function execute() {
// Add convenience tag to mark that this is an extended query. We have to
// do this in the constructor to ensure that it is set before preExecute()
// gets called.
// By calling preExecute() here, we force it to preprocess the extender
// object rather than just the base query object. That means
// hook_query_alter() gets access to the extended object.
if (!$this->preExecute($this)) {
return NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment