Update Openlayers JS library to 4.6.4.
This commit is contained in:
parent
9091cee732
commit
087e32b73b
|
@ -27,7 +27,7 @@ function farm_install() {
|
|||
variable_set('menu_main_links_source', 'farm');
|
||||
|
||||
// Load Openlayers from CDNJS.
|
||||
\Drupal\openlayers\Config::set('openlayers.variant', 'cdnjs:ol3:4.3.3');
|
||||
\Drupal\openlayers\Config::set('openlayers.variant', 'cdnjs:ol3:4.6.4');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -693,6 +693,13 @@ function farm_update_7037(&$sandbox) {
|
|||
_farm_update_enable_modules(array('farm_asset_views'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Update Openlayers JS library to 4.6.4.
|
||||
*/
|
||||
function farm_update_7038(&$sandbox) {
|
||||
\Drupal\openlayers\Config::set('openlayers.variant', 'cdnjs:ol3:4.6.4');
|
||||
}
|
||||
|
||||
/**
|
||||
* Update helper function: enable modules.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue