Skip to content
Snippets Groups Projects
Verified Commit bd142d03 authored by quietone's avatar quietone
Browse files

Issue #3345197 by _shY, pradhumanjain2311, joachim, longwave:...

Issue #3345197 by _shY, pradhumanjain2311, joachim, longwave: loadByProperties() and buildPropertyQuery() should document that you can pass value arrays to get an IN query condition
parent aa55822a
No related branches found
No related tags found
15 merge requests!8376Drupal views: adding more granularity to the ‘use ajax’ functionality,!8300Issue #3443586 View area displays even when parent view has no results.,!7567Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7565Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7509Change label "Block description" to "Block type",!7344Issue #3292350 by O'Briat, KlemenDEV, hswong3i, smustgrave, quietone: Update...,!6922Issue #3412959 by quietone, smustgrave, longwave: Fix 12 'un' words,!6848Issue #3417553 by longwave: Remove withConsecutive() in CacheCollectorTest,!6720Revert "Issue #3358581 by pfrenssen, _tarik_, a.dmitriiev, smustgrave:...,!6560Update ClaroPreRender.php, confirming classes provided are in array format,!6528Issue #3414261 by catch: Add authenticated user umami performance tests,!6501Issue #3263668 by omkar-pd, Wim Leers, hooroomoo: Re-enable inline form errors...,!6354Draft: Issue #3380392 by phma: Updating language weight from the overview reverts label if translated,!6324Issue #3416723 by Ludo.R: Provide a "node type" views default argument,!6119Issue #3405704 by Spokje, longwave: symfony/psr-http-message-bridge major version bump
Pipeline #69251 passed
Pipeline: drupal

#69252

    ......@@ -585,8 +585,9 @@ public function restore(EntityInterface $entity) {
    * @param \Drupal\Core\Entity\Query\QueryInterface $entity_query
    * EntityQuery instance.
    * @param array $values
    * An associative array of properties of the entity, where the keys are the
    * property names and the values are the values those properties must have.
    * An associative array where the keys are the property names and the
    * values are the values those properties must have. If a property takes
    * multiple values, passing an array of values will produce an IN condition.
    */
    protected function buildPropertyQuery(QueryInterface $entity_query, array $values) {
    foreach ($values as $name => $value) {
    ......
    ......@@ -111,7 +111,8 @@ public function deleteRevision($revision_id);
    *
    * @param array $values
    * An associative array where the keys are the property names and the
    * values are the values those properties must have.
    * values are the values those properties must have. If a property takes
    * multiple values, passing an array of values will produce an IN condition.
    *
    * @return \Drupal\Core\Entity\EntityInterface[]
    * An array of entity objects indexed by their ids.
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment