You are here

public function Js::getEndpoint in JS Callback Handler 8.3

Retrieves the JS Callback endpoint.

Return value

string The endpoint path.

File

src/Js.php, line 421

Class

Js
JS Callback Handler service.

Namespace

Drupal\js

Code

public function getEndpoint() {
  return (string) $this->settings
    ->get('endpoint') ?: '/js';
}