You are here

public function Base::getProvider in Openlayers 7.3

Return the module that provides this plugin.

Return value

string The module providing the plugin.

Overrides ObjectInterface::getProvider

2 calls to Base::getProvider()
Base::getClassDirectory in src/Types/Base.php
Returns the path to the plugin directory.
Base::getClassPath in src/Types/Base.php
Returns the path to the class file.

File

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

Class

Base
Class Base.

Namespace

Drupal\openlayers\Types

Code

public function getProvider() {
  $class = explode('\\', $this->pluginDefinition['class']);
  return $class[1];
}