How to inject a service into a callback in ajax form?

I can’t access to my injected service from inside a form #ajax callback method : this is the form element that triggers the #ajax callback ( which is an external class method): /src/Form/EndPointConstructorForm.php $form[‘bundle’] = [ ‘#ajax’ => [ ‘event’ => ‘change’, ‘callback’ => ‘\Drupal\jsonapi_endpoint_explorer\AjaxHandler\EndPointConstructorAjaxHandler::bundleOnChange’, ‘wrapper’ => ‘sort-edit’, ], ]; this is the triggered callback…

Details

‘pass’: Easyest way to synchronize the password-store between multiple machines

I moved to the pass password manager and I try to integrate it as good as possible into my workflow. However, I’m not familiar with deeper synchronization/version-control concepts (git, password server), so I’m stuck syncing the passwords between multiple computers. I’m using Linux (Debian 9) and the synchronization is done over the local network with…

Details