protected function RestIncidentStorage::getDefaultEndpoint in Radioactivity 8.3
Same name and namespace in other branches
- 4.0.x 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\radioactivityCode
protected function getDefaultEndpoint() {
global $base_url;
return $base_url . '/' . drupal_get_path('module', 'radioactivity') . '/endpoints/file/rest.php';
}