0

I used the (_csrf_token: 'TRUE') in the Custom Module of my routing file. So i got error like(Uncaught PHP Exception Drupal\Component\Serialization\Exception\InvalidDataTypeException: "Unable to parse at line 32 (near " _csrf_token: 'TRUE'")." at /home/otc/install/apache2-4/htdocs/test/core/lib/Drupal/Component/Serialization/YamlSymfony.php line 39 )

When i used in composer manager routing file it works. But on my custom module it throws website encountered in my module path url.

Kindly suggest me how to solve it

B.lakshman
  • 401
  • 1
  • 6
  • 19

0 Answers0