You are here

public function ObjectInterface::preBuild in Openlayers 7.3

Invoked before an objects render array is built.

Mostly invoked by the map object.

Parameters

array $build: The array with the build information.

\Drupal\openlayers\Types\ObjectInterface $context: The context of the build. Mostly the map object.

1 method overrides ObjectInterface::preBuild()
Base::preBuild in src/Types/Base.php
Invoked before an objects render array is built.

File

src/Types/ObjectInterface.php, line 165
Interface ObjectInterface.

Class

ObjectInterface
Interface openlayers_object_interface.

Namespace

Drupal\openlayers\Types

Code

public function preBuild(array &$build, ObjectInterface $context = NULL);