You are here

function openlayers_behaviors_process_fullscreen in Openlayers 6

Callback for OpenLayers Behaviors (Fullscreen)

Parameters

$behavior: Data about behavior

$map: Map array

Return value

Behavior array

1 string reference to 'openlayers_behaviors_process_fullscreen'
openlayers_behaviors_openlayers_behaviors_info in modules/openlayers_behaviors/openlayers_behaviors.module
Implementation of hook_openlayers_behaviors_info().

File

modules/openlayers_behaviors/includes/openlayers_behaviors.behaviors.inc, line 171
This file holds the main Drupal hook functions and private functions for the openlayers_behaviors module.

Code

function openlayers_behaviors_process_fullscreen($behavior, &$map) {
  drupal_add_css(drupal_get_path('module', 'openlayers_behaviors') . '/openlayers_behaviors.css', 'module');
  return $behavior;
}