$content[type] = array ( 'name' => 'Help me!', 'type' => 'helpme', 'description' => 'DrupalにまつわるHelp me!をみんなで解決しましょう!て言うか、お願い助けてっ!', 'title_label' => '題名', 'body_label' => '内容', 'min_word_count' => '0', 'help' => '各項目は必須ではありませんが、記入されていればいるほど的確なアドバイスが期待できます。判る範囲で記入してください。 内容は、質問等の内容を出来る限り具体的に記述するようにしてください。読む人には文字でしか伝わらないと言うこと忘れないでください。 特に、エラーが表示された直後などはパニックに陥っているものです。まずは落ち着いてください。 どんな状態の時に、何をして、どうなったのか・・・が判るように心がけましょう。 ここに助けを求めても、必ず解決されるという保証をするところではありません。自分の判る範囲内で、善意で応えてもらっていると言うことを忘れれないでください。', 'theme' => 'default', 'node_options' => array ( 'status' => true, 'promote' => true, 'sticky' => false, 'revision' => false, ), 'comment' => '2', 'upload' => '0', 'trackback' => '1', 'old_type' => 'helpme', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', ); $content[groups] = array ( 0 => array ( 'label' => 'helpmegroup', 'settings' => array ( 'form' => array ( 'style' => 'fieldset', 'description' => '', ), 'display' => array ( 'description' => '', 'teaser' => NULL, 'full' => NULL, 'label' => NULL, ), ), 'weight' => '-1', 'group_name' => 'group_helpmegroup', ), ); $content[fields] = array ( 0 => array ( 'widget_type' => 'text', 'label' => 'レンタルサーバー会社等', 'weight' => '0', 'rows' => '1', 'description' => 'レンタルサーバーの会社等のサービスをご利用の場合は会社名とサービス名を記入してください。', 'default_value_widget' => array ( 'field__1' => array ( 0 => array ( 'value' => '', ), ), ), 'default_value_php' => '', 'group' => 'group_helpmegroup', 'required' => '0', 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'field_name' => 'field__1', 'field_type' => 'text', 'module' => 'text', 'default_value' => array ( 0 => array ( 'value' => '', ), ), ), 1 => array ( 'widget_type' => 'text', 'label' => 'ウェブサーバーとバージョン', 'weight' => '1', 'rows' => '1', 'description' => 'Drupalを設置したサーバーのOSとバージョンを記入してください', 'default_value_widget' => array ( 'field_os' => array ( 0 => array ( 'value' => '', ), ), ), 'default_value_php' => '', 'group' => 'group_helpmegroup', 'required' => '0', 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'field_name' => 'field_os', 'field_type' => 'text', 'module' => 'text', ), 2 => array ( 'widget_type' => 'text', 'label' => 'DBの種類とバージョン', 'weight' => '2', 'rows' => '1', 'description' => 'DBの種類(MySQLまたはPostgreSQL)とバージョンを記入してください', 'default_value_widget' => array ( 'field_db' => array ( 0 => array ( 'value' => '', ), ), ), 'default_value_php' => '', 'group' => 'group_helpmegroup', 'required' => '0', 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'field_name' => 'field_db', 'field_type' => 'text', 'module' => 'text', ), 3 => array ( 'widget_type' => 'text', 'label' => 'PHP バージョン', 'weight' => '3', 'rows' => '1', 'description' => 'PHP のバージョンを記入してください', 'default_value_widget' => array ( 'field_php_' => array ( 0 => array ( 'value' => '', ), ), ), 'default_value_php' => '', 'group' => 'group_helpmegroup', 'required' => '0', 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'field_name' => 'field_php_', 'field_type' => 'text', 'module' => 'text', ), 4 => array ( 'widget_type' => 'options_select', 'label' => 'Drupalのバージョン', 'weight' => '4', 'description' => 'Drupalのバージョンを選択してください', 'default_value_widget' => array ( 'field_drupal' => array ( 'key' => '', ), ), 'default_value_php' => '', 'group' => 'group_helpmegroup', 'required' => '0', 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '5.0 5.1 4.7.6 ', 'allowed_values_php' => '', 'field_name' => 'field_drupal', 'field_type' => 'text', 'module' => 'text, optionwidgets', ), 5 => array ( 'widget_type' => 'text', 'label' => 'インストール済みモジュール', 'weight' => '5', 'rows' => '5', 'description' => '導入済みのモジュールなどを1行に付き1モジュールで、モジュール名とバージョンを記入してください。', 'default_value_widget' => array ( 'field__0' => array ( 0 => array ( 'value' => '', ), ), ), 'field__0' => array ( 0 => array ( 'format' => 1, ), ), 'default_value_php' => '', 'group' => 'group_helpmegroup', 'required' => '0', 'multiple' => '0', 'text_processing' => '1', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'field_name' => 'field__0', 'field_type' => 'text', 'module' => 'text', ), 6 => array ( 'widget_type' => 'text', 'label' => '端末のOS', 'weight' => '6', 'rows' => 1, 'description' => '端末のOSとバージョンを記入してください。', 'default_value_widget' => array ( 'field_os_0' => array ( 0 => array ( 'value' => '', ), ), ), 'default_value_php' => '', 'group' => 'group_helpmegroup', 'required' => '0', 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'field_name' => 'field_os_0', 'field_type' => 'text', 'module' => 'text', ), 7 => array ( 'widget_type' => 'text', 'label' => '端末のブラウザ', 'weight' => '7', 'rows' => '1', 'description' => '端末のブラウザ(Internet explorer,Firefox,Operaなど)とバージョンを記入してください。', 'default_value_widget' => array ( 'field_' => array ( 0 => array ( 'value' => '', ), ), ), 'default_value_php' => '', 'group' => 'group_helpmegroup', 'required' => '0', 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'field_name' => 'field_', 'field_type' => 'text', 'module' => 'text', ), );