When adding custom twig template to form it gives error

When I add custom twig template for my custom form it gives following error

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName()

My form buildForm is like this

Experimenting with a REST API

The CLI one-liner below uses curl to query a RESTful service:

curl -X POST -H "Content-Type: application/json" "https://graphhopper.com/api/1/route?key=[API KEY]" -d '{"elevation":false,"points":[[-0.087891,51.534377],[-0.090637,51.467697]],"vehicle":"car"}'

I've tested it, and it works as expected (if you supply a valid GraphHopper API KEY).

Is there a quick and easy way to do the same thing in the Drupal 8 GUI?

I know how to do it the hard way: Write a custom module to make the same POST-request.

Problem with proximity

Hi

I'm trying to display nearest stores to a certain location (Geolocation field) found on a node and I'm using this guide:

https://www.drupal.org/docs/contributed-modules/geolocation-field/how-to...

But for some reason I can find this

"5. Select the Entity ID Context Filter option and select the contextual filter you created above."

How do I fix this error about the Node class not found?

I've installed Drupal 8, I've created a PHP file to read a XML file and insert some items, but I'm getting this error.

Fatal error: Uncaught Error: Class 'Drupal\node\Entity\Node' not found in C:\xampp\htdocs\drupal8\migracion.php:12 Stack trace: #0 {main} thrown in C:\xampp\htdocs\drupal8\migracion.php on line 12

This is the code I am using.

Drupal 8 migrated fields in content type not showing in View module

I used migrate module to convert my site from Drupal 7 to Drupal 8.9.x. The content types and contents got migrated correctly. However when I try to create a view using a specific content type, I am unable to see the fields. Explaining the steps i followed:

Enterprise Healthcare Intranet

Enterprise Healthcare Drupal Intranet

UMass Memorial Health Care Partners with Centretek to Strengthen Internal Communication & Collaboration 

About UMass Memorial Health Care

Sectors: 
Healthcare

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x