Skip to content

tristanodebartolo/almavia_integration

Repository files navigation

Almavia Cx Integration

Create a new data.json file and template page, run drush command

ddev drush almavia:add-page

After executing the command, please enter a page title.

Please enter a page title (Ex : Contact):
> Accueil

Then validate your request.

 2/2 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 [OK] Both files have been created. The caches have been emptied.

 ------ --------------------------------------------------------------------------------------
  Type   File
 ------ --------------------------------------------------------------------------------------
  json   modules/custom/almavia_integration/data/accueil.json
  twig   modules/custom/almavia_integration/templates/almavia--integration--accueil.html.twig
 ------ --------------------------------------------------------------------------------------

Medias

To reference media in the asset folder, use the {{ module_path }} variable in the branch files

  • Output {{ module_path }} variable : modules/custom/almavia_integration
<img src="/{{ module_path }}/assets/<media-name.png>" alt="" width="306" height="306">

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published