public function loadAllLocationsWithGroupExId() {
    $mapping_ids = $this->queryFactory
      ->get('mapping')
      ->condition('type', self::TYPE)
      ->condition('field_groupex_id', 0, '>')
      ->sort('name', 'ASC')
      ->execute();
    if (!$mapping_ids) {
      return [];
    }

    return $this->storage->loadMultiple($mapping_ids);
  }
public function loadAllLocationsWithGroupExId() {
    $mapping_ids = $this->queryFactory
      ->get('mapping')
      ->condition('type', self::TYPE)
      ->condition('field_groupex_id', 0, '>')
      ->sort('name', 'ASC')
      ->execute();
    if (!$mapping_ids) {
      return [];
    }

    return $this->storage->loadMultiple($mapping_ids);
  }
public function loadAllLocationsWithGroupExId ( ) { $ mapping_ids = $ this -> queryFactory -> get ( 'mapping' ) -> condition ( 'type' , self :: TYPE ) -> condition ( 'field_groupex_id' , 0 , '>' ) -> sort ( 'name' , 'ASC' ) -> execute ( ) ; if ( ! $ mapping_ids ) { return [ ] ; } return $ this -> storage -> loadMultiple ( $ mapping_ids ) ; }
Load all location mappings where GroupEx ID is present.

@return array
An array of found location mapping objects sorted by name.
Load all location mappings where GroupEx ID is present .