You are here

protected function RestIncidentStorage::getEndpoint in Radioactivity 8.3

Same name and namespace in other branches
  1. 4.0.x src/RestIncidentStorage.php \Drupal\radioactivity\RestIncidentStorage::getEndpoint()

Returns the endpoint URL.

Return value

string The endpoint URL.

1 call to RestIncidentStorage::getEndpoint()
RestIncidentStorage::injectSettings in src/RestIncidentStorage.php
Add endpoint settings to the page.

File

src/RestIncidentStorage.php, line 89

Class

RestIncidentStorage
Defines a REST incident storage.

Namespace

Drupal\radioactivity

Code

protected function getEndpoint() {
  if (is_null($this->endpoint)) {
    $this->endpoint = $this
      ->getDefaultEndpoint();
  }
  return $this->endpoint;
}