You are here

function openlayers_behaviors_get_info in Openlayers 6

Get Behavior Info

Wrapper around behavior info hook

Parameters

$reset: Boolean whether to reset cache or not

Return value

array of behavior info

Related topics

1 call to openlayers_behaviors_get_info()
_openlayers_behaviors_process in includes/openlayers.render.inc
Process Behaviors

File

./openlayers.module, line 283
Main OpenLayers API File

Code

function openlayers_behaviors_get_info($reset = FALSE) {
  static $info = NULL;

  // If empty or reset, get info
  if ($info === NULL || $reset == TRUE) {
    $info = module_invoke_all('openlayers_behaviors_info');
  }
  return $info;
}