protected function getDaxkoLocations($group = FALSE) {
    $locations_config = $this->daxkoConfig->get('locations');
    $locations = $this->parseGrouppedSetting($locations_config, $group);

    if (!$group) {
      return $locations;
    }

    $numericalKeyedLocations = [];
    foreach ($locations as $label => $value) {
      $numericalKeyedLocations[] = ['value' => $value, 'label' => $label];
    }

    return $numericalKeyedLocations;
  }
protected function getDaxkoLocations($group = FALSE) {
    $locations_config = $this->daxkoConfig->get('locations');
    $locations = $this->parseGrouppedSetting($locations_config, $group);

    if (!$group) {
      return $locations;
    }

    $numericalKeyedLocations = [];
    foreach ($locations as $label => $value) {
      $numericalKeyedLocations[] = ['value' => $value, 'label' => $label];
    }

    return $numericalKeyedLocations;
  }
protected function getDaxkoLocations ( $ group = FALSE ) { $ locations_config = $ this -> daxkoConfig -> get ( 'locations' ) ; $ locations = $ this -> parseGrouppedSetting ( $ locations_config , $ group ) ; if ( ! $ group ) { return $ locations ; } $ numericalKeyedLocations = [ ] ; foreach ( $ locations as $ label => $ value ) { $ numericalKeyedLocations [ ] = [ 'value' => $ value , 'label' => $ label ] ; } return $ numericalKeyedLocations ; }
Load locations from the configuration.
Load locations from the configuration .