Skip to content

Instantly share code, notes, and snippets.

@tenken
Created February 28, 2012 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tenken/1933975 to your computer and use it in GitHub Desktop.
Save tenken/1933975 to your computer and use it in GitHub Desktop.
default content export of nodes
<?php
/**
* @file
* dc_pages.features.content.inc
*/
/**
* Implements hook_content_defaults().
*/
function dc_pages_content_defaults() {
$content = array();
$content['page:academics'] = (object) array(
'exported_path' => 'academics',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:academics',
'router_path' => 'node/%',
'link_title' => 'Academics',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '1',
'expanded' => '0',
'weight' => '0',
'identifier' => 'main-menu:node-name/page:academics',
),
'title' => 'Academics',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415727',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:academics',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Academics</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Academics</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:academics/eap-credit'] = (object) array(
'exported_path' => 'academics/eap-credit',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:academics/eap-credit',
'router_path' => 'node/%',
'link_title' => 'EAP Credit',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:academics',
'identifier' => 'main-menu:node-name/page:academics/eap-credit',
),
'title' => 'EAP Credit',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415769',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:academics/eap-credit',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>EAP Credit</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>EAP Credit</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:academics/grades'] = (object) array(
'exported_path' => 'academics/grades',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:academics/grades',
'router_path' => 'node/%',
'link_title' => 'Grades',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:academics',
'identifier' => 'main-menu:node-name/page:academics/grades',
),
'title' => 'Grades',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415893',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:academics/grades',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Grades</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Grades</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:academics/graduting-senioers'] = (object) array(
'exported_path' => 'academics/graduting-seniors',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:academics/graduting-senioers',
'router_path' => 'node/%',
'link_title' => 'Graduting Seniors',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:academics',
'identifier' => 'main-menu:node-name/page:academics/graduting-senioers',
),
'title' => 'Graduting Seniors',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415949',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:academics/graduting-senioers',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Graduting Seniors</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Graduting Seniors</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:academics/ls'] = (object) array(
'exported_path' => 'academics/ls',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:academics/ls',
'router_path' => 'node/%',
'link_title' => 'L&S',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:academics',
'identifier' => 'main-menu:node-name/page:academics/ls',
),
'title' => 'L&S',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415833',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:academics/ls',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>L&amp;S</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>L&amp;S</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:apply-now'] = (object) array(
'exported_path' => 'apply-now',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:apply-now',
'router_path' => 'node/%',
'link_title' => 'Apply Now',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'identifier' => 'main-menu:node-name/page:apply-now',
),
'title' => 'Apply Now',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415604',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:apply-now',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Apply Now</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Apply Now</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:finances'] = (object) array(
'exported_path' => 'finances',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:finances',
'router_path' => 'node/%',
'link_title' => 'Finances',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '1',
'expanded' => '0',
'weight' => '0',
'identifier' => 'main-menu:node-name/page:finances',
),
'title' => 'Finances',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330414777',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:finances',
'body' => array(),
);
$content['page:finances/contacts'] = (object) array(
'exported_path' => 'finances/contacts',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:finances/contacts',
'router_path' => 'node/%',
'link_title' => 'Contacts',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:finances',
'identifier' => 'main-menu:node-name/page:finances/contacts',
),
'title' => 'Contacts',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415380',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:finances/contacts',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Contacts</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Contacts</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:finances/cost'] = (object) array(
'exported_path' => 'finances/cost',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:finances/cost',
'router_path' => 'node/%',
'link_title' => 'Cost',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:finances',
'identifier' => 'main-menu:node-name/page:finances/cost',
),
'title' => 'Cost',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330414854',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:finances/cost',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>cost page</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>cost page</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:finances/financial-aid'] = (object) array(
'exported_path' => 'finances/financial-aid',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:finances/financial-aid',
'router_path' => 'node/%',
'link_title' => 'Financial Aid',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:finances',
'identifier' => 'main-menu:node-name/page:finances/financial-aid',
),
'title' => 'Financial Aid',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415105',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:finances/financial-aid',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Financial Aid</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Financial Aid</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:finances/gilman-scholarship'] = (object) array(
'exported_path' => 'finances/gilman-scholarship',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:finances/gilman-scholarship',
'router_path' => 'node/%',
'link_title' => 'Gilman Scholarship',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:finances',
'identifier' => 'main-menu:node-name/page:finances/gilman-scholarship',
),
'title' => 'Gilman Scholarship',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415436',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:finances/gilman-scholarship',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Gilman Scholarship</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Gilman Scholarship</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:finances/global-intern-program'] = (object) array(
'exported_path' => 'finances/global-intern-program',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:finances/global-intern-program',
'router_path' => 'node/%',
'link_title' => 'Global Intern Program',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:finances',
'identifier' => 'main-menu:node-name/page:finances/global-intern-program',
),
'title' => 'Global Intern Program',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415484',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:finances/global-intern-program',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Global Intern Program</p>
',
'summary' => '',
'format' => 'filtered_html',
'safe_value' => '<p>Global Intern Program</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:finances/payments'] = (object) array(
'exported_path' => 'finances/payments',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:finances/payments',
'router_path' => 'node/%',
'link_title' => 'Payments',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:finances',
'identifier' => 'main-menu:node-name/page:finances/payments',
),
'title' => 'Payments',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415188',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:finances/payments',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Payments</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Payments</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:finances/power-of-attorney'] = (object) array(
'exported_path' => 'finances/power-attorney',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:finances/power-of-attorney',
'router_path' => 'node/%',
'link_title' => 'Power of Attorney',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:finances',
'identifier' => 'main-menu:node-name/page:finances/power-of-attorney',
),
'title' => 'Power of Attorney',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415307',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:finances/power-of-attorney',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Power of Attorney</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Power of Attorney</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:finances/scholarships'] = (object) array(
'exported_path' => 'finances/scholarships',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:finances/scholarships',
'router_path' => 'node/%',
'link_title' => 'Scholarships',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:finances',
'identifier' => 'main-menu:node-name/page:finances/scholarships',
),
'title' => 'Scholarships',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415144',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:finances/scholarships',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Scholarships</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Scholarships</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:getting-started'] = (object) array(
'exported_path' => 'getting-started',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:getting-started',
'router_path' => 'node/%',
'link_title' => 'Getting Started',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'identifier' => 'main-menu:node-name/page:getting-started',
),
'title' => 'Getting Started',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415558',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:getting-started',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Getting Started</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Getting Started</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:news-events'] = (object) array(
'exported_path' => 'news-events',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:news-events',
'router_path' => 'node/%',
'link_title' => 'News & Events',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'identifier' => 'main-menu:node-name/page:news-events',
),
'title' => 'News & Events',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415688',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:news-events',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>News &amp; Events</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>News &amp; Events</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:student-stories'] = (object) array(
'exported_path' => 'student-stories',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:student-stories',
'router_path' => 'node/%',
'link_title' => 'Student Stories',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '1',
'expanded' => '0',
'weight' => '0',
'identifier' => 'main-menu:node-name/page:student-stories',
),
'title' => 'Student Stories',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330415989',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:student-stories',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Student Stories</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Student Stories</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:student-stories/blog'] = (object) array(
'exported_path' => 'student-stories/blog',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:student-stories/blog',
'router_path' => 'node/%',
'link_title' => 'Blog',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:student-stories',
'identifier' => 'main-menu:node-name/page:student-stories/blog',
),
'title' => 'Blog',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330416236',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:student-stories/blog',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Blog</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Blog</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:student-stories/galleries'] = (object) array(
'exported_path' => 'student-stories/photo-contest',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:student-stories/galleries',
'router_path' => 'node/%',
'link_title' => 'Photo Contest',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:student-stories',
'identifier' => 'main-menu:node-name/page:student-stories/galleries',
),
'title' => 'Photo Contest',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330416058',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:student-stories/galleries',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Photo Contest</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Photo Contest</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:student-stories/roaming-gauchos'] = (object) array(
'exported_path' => 'student-stories/roaming-gaucho',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:student-stories/roaming-gauchos',
'router_path' => 'node/%',
'link_title' => 'Roaming Gaucho',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:student-stories',
'identifier' => 'main-menu:node-name/page:student-stories/roaming-gauchos',
),
'title' => 'Roaming Gaucho',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330416121',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:student-stories/roaming-gauchos',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Roaming Gaucho</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Roaming Gaucho</p>
',
'safe_summary' => '',
),
),
),
);
$content['page:student-stories/student-feedback-survey'] = (object) array(
'exported_path' => 'student-stories/student-feedback-survey',
'link' => array(
'menu_name' => 'main-menu',
'link_path' => 'node-name/page:student-stories/student-feedback-survey',
'router_path' => 'node/%',
'link_title' => 'Student Feedback Survey',
'options' => array(
'attributes' => array(),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'node-name/page:student-stories',
'identifier' => 'main-menu:node-name/page:student-stories/student-feedback-survey',
),
'title' => 'Student Feedback Survey',
'status' => '1',
'promote' => '0',
'sticky' => '0',
'type' => 'page',
'language' => 'en',
'created' => '1330416198',
'comment' => '0',
'translate' => '0',
'machine_name' => 'page:student-stories/student-feedback-survey',
'body' => array(
'und' => array(
0 => array(
'value' => '<p>Student Feedback Survey</p>
',
'summary' => '',
'format' => 'full_html',
'safe_value' => '<p>Student Feedback Survey</p>
',
'safe_summary' => '',
),
),
),
);
return $content;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment