You are here

public function ObjectInterface::setOption in Openlayers 7.3

Set an option.

Parameters

string|array $parents: TODO: Define how this has to look like if it is an array.

mixed $value: The value to set.

Return value

ObjectInterface The current object.

1 method overrides ObjectInterface::setOption()
Base::setOption in src/Types/Base.php
Set an option.

File

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

Class

ObjectInterface
Interface openlayers_object_interface.

Namespace

Drupal\openlayers\Types

Code

public function setOption($parents, $value = NULL);