You are here

protected function RestIncidentStorage::getDefaultEndpoint in Radioactivity 4.0.x

Same name and namespace in other branches
  1. 8.3 src/RestIncidentStorage.php \Drupal\radioactivity\RestIncidentStorage::getDefaultEndpoint()

Returns the default storage endpoint.

Return value

string The storage endpoint.

1 call to RestIncidentStorage::getDefaultEndpoint()
RestIncidentStorage::getEndpoint in src/RestIncidentStorage.php
Returns the endpoint URL.

File

src/RestIncidentStorage.php, line 103

Class

RestIncidentStorage
Defines a REST incident storage.

Namespace

Drupal\radioactivity

Code

protected function getDefaultEndpoint() {
  global $base_url;
  return $base_url . '/' . drupal_get_path('module', 'radioactivity') . '/endpoints/file/rest.php';
}