Created
March 15, 2012 09:42
-
-
Save vincenzo/2043295 to your computer and use it in GitHub Desktop.
Programmatic CCK Content Type Updated - Step 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$content['type'] = array( | |
'name' => 'Example CCK Content', | |
'type' => 'example_cck_content', | |
// ... cut code ... | |
$content['fields'] = array( | |
0 => | |
array( | |
'label' => 'Box Image', | |
'field_name' => 'field_boximage', | |
// ... cut code ... | |
$content['extra'] = array( | |
'title' => '-5', | |
'revision_information' => '20', | |
'comment_settings' => '30', | |
'menu' => '-2', | |
), | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment