Skip to content

Instantly share code, notes, and snippets.

@rubensayshi
Created June 18, 2011 17:19
Show Gist options
  • Save rubensayshi/1033290 to your computer and use it in GitHub Desktop.
Save rubensayshi/1033290 to your computer and use it in GitHub Desktop.
Voiture :: SFI :: SFINode
<?php
// Homepage
$coll->addItem(new SFINode('homepage', 'The homepage node containing the introduction', array(
'type' => 'page',
'title' => 'Welcome to our website',
'body' => StructuralFixtureItemBase::getLipsum(),
'field_list_items' => array(
'item #1',
'another item',
'the last item',
),
)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment