Update Openlayers JS library to latest version: 4.3.3.
This commit is contained in:
parent
3243c5af92
commit
8aa00a4df2
11
farm.install
11
farm.install
|
@ -26,8 +26,8 @@ function farm_install() {
|
|||
// Use the farm menu for primary links (provided by farm_admin).
|
||||
variable_set('menu_main_links_source', 'farm');
|
||||
|
||||
// Load Openlayers 3.11.2 from CDNJS.
|
||||
\Drupal\openlayers\Config::set('openlayers.variant', 'cdnjs:ol3:3.11.2');
|
||||
// Load Openlayers from CDNJS.
|
||||
\Drupal\openlayers\Config::set('openlayers.variant', 'cdnjs:ol3:4.3.3');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -605,6 +605,13 @@ function farm_update_7027(&$sandbox) {
|
|||
->execute();
|
||||
}
|
||||
|
||||
/**
|
||||
* Update Openlayers JS library to 4.3.3.
|
||||
*/
|
||||
function farm_update_7028(&$sandbox) {
|
||||
\Drupal\openlayers\Config::set('openlayers.variant', 'cdnjs:ol3:4.3.3');
|
||||
}
|
||||
|
||||
/**
|
||||
* Update helper function: enable modules.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue