You are here

public function Base::getFactoryService in Openlayers 7.3

Return the Factory Service of the object.

Return value

string|FALSE The factory service otherwise FALSE.

Overrides ObjectInterface::getFactoryService

1 call to Base::getFactoryService()
Error::getMessage in src/Types/Error.php

File

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

Class

Base
Class Base.

Namespace

Drupal\openlayers\Types

Code

public function getFactoryService() {
  $configuration = $this
    ->getConfiguration();
  if (isset($configuration['factory_service'])) {
    return check_plain($configuration['factory_service']);
  }
  return FALSE;
}