the bola v2 website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

antlers.php 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Version
  6. |--------------------------------------------------------------------------
  7. |
  8. | The desired Antlers language version to utilize. Supported values are
  9. | "runtime" for the modern parser, or "regex" for the legacy parser.
  10. |
  11. */
  12. 'version' => 'runtime',
  13. /*
  14. |--------------------------------------------------------------------------
  15. | Guarded Variables
  16. |--------------------------------------------------------------------------
  17. |
  18. | Any variable pattern that appears in this list will not be allowed
  19. | in any Antlers template, including any user-supplied values.
  20. |
  21. */
  22. 'guardedVariables' => [
  23. 'config.app.key',
  24. ],
  25. /*
  26. |--------------------------------------------------------------------------
  27. | Guarded Tags
  28. |--------------------------------------------------------------------------
  29. |
  30. | Any tag pattern that appears in this list will not be allowed
  31. | in any Antlers template, including any user-supplied values.
  32. |
  33. */
  34. 'guardedTags' => [
  35. ],
  36. /*
  37. |--------------------------------------------------------------------------
  38. | Guarded Modifiers
  39. |--------------------------------------------------------------------------
  40. |
  41. | Any modifier pattern that appears in this list will not be allowed
  42. | in any Antlers template, including any user-supplied values.
  43. |
  44. */
  45. 'guardedModifiers' => [
  46. ],
  47. ];