function openlayers_views_enable in Openlayers 6
Implementation of hook_enable().
File
- modules/
openlayers_views/ openlayers_views.install, line 26 - This file holds the functions for the installing and enabling of the openlayers_views module.
Code
function openlayers_views_enable() {
// As needed for upgrading to 2.x (while accounting
// for 0.x), we set a variable that can help
// the upgrade function in 2.x understand what needs
// to be done. Note, it is not meant to actually
// maintain the schema version.
variable_set('openlayers_views_schema_version', 6100);
}