Archived video

This video is archived and won't be updated. We're keeping it online for now as a courtesy.

Alternate resources: 

Parameters: The Variables of Configuration in Symfony 3

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:08
    Congrats, we've basically mastered Symfony's
  • 0:11
    configuration and environment system.
  • 0:14
    But there's just 1 more trick it has up its sleeve.
  • 0:18
    Look closely inside config.yml.
  • 0:22
    One of the settings default_locale is set to a strange
  • 0:27
    looking value %locale%.
  • 0:31
    Huh, scrolling up a bit there's
  • 0:35
    another route key
  • 0:36
    called parameters with locale: en.
  • 0:41
    You're witnessing the power of a special variable system

Parameters: The Variables of Configuration in Symfony 3

Loading...

In this lesson you'll learn about some special variables called parameters that are available in configuration files for Symfony. We'll explore already existing parameters as well as learn how to create a new parameter.

Downloads: 
Log in or sign up to download companion files.
Additional resources: