public function getLocationPins() {
    $activeTypes = \Drupal::configFactory()->get('openy_map.settings')->get('active_types');
    $activeTypes = !empty($activeTypes) ? array_keys(array_filter($activeTypes)) : [];
    $pins = [];
    foreach ($activeTypes as $type) {
      $typePins = $this->getPins($type);
      $pins = array_merge($pins, $typePins);
    }
    return $pins;
  }
public function getLocationPins() {
    $activeTypes = \Drupal::configFactory()->get('openy_map.settings')->get('active_types');
    $activeTypes = !empty($activeTypes) ? array_keys(array_filter($activeTypes)) : [];
    $pins = [];
    foreach ($activeTypes as $type) {
      $typePins = $this->getPins($type);
      $pins = array_merge($pins, $typePins);
    }
    return $pins;
  }
public function getLocationPins ( ) { $ activeTypes = \ Drupal :: configFactory ( ) -> get ( 'openy_map.settings' ) -> get ( 'active_types' ) ; $ activeTypes = ! empty ( $ activeTypes ) ? array_keys ( array_filter ( $ activeTypes ) ) : [ ] ; $ pins = [ ] ; foreach ( $ activeTypes as $ type ) { $ typePins = $ this -> getPins ( $ type ) ; $ pins = array_merge ( $ pins , $ typePins ) ; } return $ pins ; }
Get all location pins for map.

Used in location finder block.
Get all location pins for map .