openlayers/openlayers.module, line 256
- Versions
- 6
openlayers_behaviors_get_info($reset = FALSE)
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
Code
<?php
function openlayers_behaviors_get_info($reset = FALSE) {
static $info = array();
// If empty or reset, get info
if (count($info) == 0 || $reset == TRUE) {
// Hook behaviors info ($map is not necessary)
// hook_openlayers_behaviors_info($map = array())
$info = module_invoke_all('openlayers_behaviors_info');
}
return $info;
}
?> 