function hook_openlayers_object_preprocess_alter in Openlayers 7.3
This hook will be triggered before a map is built and on each of its object.
Parameters
array $build: The render array that will be rendered later.
\Drupal\openlayers\Types\ObjectInterface $context: The context, this will be an openlayers object.
1 invocation of hook_openlayers_object_preprocess_alter()
- Base::preBuild in src/
Types/ Base.php - Invoked before an objects render array is built.
File
- ./
openlayers.api.php, line 16 - Hooks for openlayers module.
Code
function hook_openlayers_object_preprocess_alter(array &$build, \Drupal\openlayers\Types\ObjectInterface $context) {
}