Archived video

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

Alternate resources: 

Create a Fixture for Dummy Data

Video loading...

Transcripts: 
Transcript language code: 
eng

Join Drupalize.Me to watch this video

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

Log in Sign up
  • 0:06
    with Leanna Pelham
  • 0:09
    We have the bundle.
  • 0:10
    Plug it in.
  • 0:12
    Open up the AppKernel class and add it there.
  • 0:24
    To see if it's working, try getting help information on a new
  • 0:27
    doctrine:fixtures:load console task that comes from the bundle.
  • 0:37
    We see the help information so we're ready to write some fixtures.
  • 0:41
    A fixture is just a PHP class that puts some stuff into the database.
  • 0:46
    Create a new file in the
  • 0:47
    DoctrineFixtures/ORM directory of your bundle.
Loading ...

Create a Fixture for Dummy Data

Loading...

A fixture is just a PHP class that puts some stuff into the database. To get your dummy data set up, in this lesson, you'll write a fixture and then load it up.

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

Additional resources:
There are no resources for this video. If you believe there should be, please contact us.