You are here

public function Base::setFactoryService in Openlayers 7.3

Set the Factory Service of the object.

Parameters

string $factory_service: The object's factory service.

Return value

ObjectInterface The parent object.

Overrides ObjectInterface::setFactoryService

File

src/Types/Base.php, line 146
Class Object.

Class

Base
Class Base.

Namespace

Drupal\openlayers\Types

Code

public function setFactoryService($factory_service) {
  $this->configuration['factory_service'] = $factory_service;
  return $this;
}