function hook_openlayers_object_postprocess_alter in Openlayers 7.3
This hook will be triggered after a map is built and on each of its object.
Parameters
array $build: The render array that will be rendered after this hook.
\Drupal\openlayers\Types\ObjectInterface $context: The context, this will be an openlayers object.
1 function implements hook_openlayers_object_postprocess_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- openlayers_contextual_links_openlayers_object_postprocess_alter in modules/
openlayers_contextual_links/ openlayers_contextual_links.module - Implements hook_openlayers_object_postprocess_alter().
1 invocation of hook_openlayers_object_postprocess_alter()
- Base::postBuild in src/
Types/ Base.php - Invoked after an objects render array is built.
File
- ./
openlayers.api.php, line 28 - Hooks for openlayers module.
Code
function hook_openlayers_object_postprocess_alter(array &$build, \Drupal\openlayers\Types\ObjectInterface $context) {
}