Mercurial > hg > isophonics-drupal-site
comparison core/modules/workspaces/src/EntityQuery/QueryTrait.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
67 } | 67 } |
68 | 68 |
69 return $this; | 69 return $this; |
70 } | 70 } |
71 | 71 |
72 /** | |
73 * {@inheritdoc} | |
74 */ | |
75 public function isSimpleQuery() { | |
76 // We declare that this is not a simple query in | |
77 // \Drupal\workspaces\EntityQuery\QueryTrait::prepare(), but that's not | |
78 // enough because the parent method can return TRUE in some circumstances. | |
79 if ($this->sqlQuery->getMetaData('active_workspace_id')) { | |
80 return FALSE; | |
81 } | |
82 | |
83 return parent::isSimpleQuery(); | |
84 } | |
85 | |
72 } | 86 } |