You are here

public function ProviderBase::getApi in Express 8

Retrieves the API URL if set.

Return value

string The API URL.

Overrides ProviderInterface::getApi

1 call to ProviderBase::getApi()
ProviderBase::processDefinition in themes/contrib/bootstrap/src/Plugin/Provider/ProviderBase.php
Processes the provider plugin definition upon discovery.

File

themes/contrib/bootstrap/src/Plugin/Provider/ProviderBase.php, line 40
Contains \Drupal\bootstrap\Plugin\Provider\ProviderBase.

Class

ProviderBase
CDN provider base class.

Namespace

Drupal\bootstrap\Plugin\Provider

Code

public function getApi() {
  return $this->pluginDefinition['api'];
}