You are here

public function Base::init in Openlayers 7.3

Initializes the object.

Overrides ObjectInterface::init

2 calls to Base::init()
Error::init in src/Types/Error.php
Initializes the object.
Views::init in modules/openlayers_views/src/Plugin/Source/Views/Views.php
@inheritDoc
2 methods override Base::init()
Error::init in src/Types/Error.php
Initializes the object.
Views::init in modules/openlayers_views/src/Plugin/Source/Views/Views.php
@inheritDoc

File

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

Class

Base
Class Base.

Namespace

Drupal\openlayers\Types

Code

public function init() {
  $this->options = $this
    ->getOptions();
  $this
    ->setWeight(0);
  return $this
    ->initCollection();
}