public function getAllDaxkoBranchIds() {
    $daxko_ids = [];

    $ids = $this->queryFactory
      ->get('mapping')
      ->condition('type', 'branch')
      ->execute();

    if (!$ids) {
      return [];
    }

    $storage = $this->entityTypeManager->getStorage('mapping');
    $entities = $storage->loadMultiple($ids);
    foreach ($entities as $entity) {
      $daxko_ids[] = $entity->field_daxko_branch_id->value;
    }

    return $daxko_ids;
  }
public function getAllDaxkoBranchIds() {
    $daxko_ids = [];

    $ids = $this->queryFactory
      ->get('mapping')
      ->condition('type', 'branch')
      ->execute();

    if (!$ids) {
      return [];
    }

    $storage = $this->entityTypeManager->getStorage('mapping');
    $entities = $storage->loadMultiple($ids);
    foreach ($entities as $entity) {
      $daxko_ids[] = $entity->field_daxko_branch_id->value;
    }

    return $daxko_ids;
  }
public function getAllDaxkoBranchIds ( ) { $ daxko_ids = [ ] ; $ ids = $ this -> queryFactory -> get ( 'mapping' ) -> condition ( 'type' , 'branch' ) -> execute ( ) ; if ( ! $ ids ) { return [ ] ; } $ storage = $ this -> entityTypeManager -> getStorage ( 'mapping' ) ; $ entities = $ storage -> loadMultiple ( $ ids ) ; foreach ( $ entities as $ entity ) { $ daxko_ids [ ] = $ entity -> field_daxko_branch_id -> value ; } return $ daxko_ids ; }
Get all available Daxko branch IDs.

@return array
The list of branch IDs.
Get all available Daxko branch IDs .