Commit 53810d22 authored by Gábor Hojtsy's avatar Gábor Hojtsy

Issue #2981393 by quietone, masipila, heddn, Gábor Hojtsy, maxocub: Migrate D6...

Issue #2981393 by quietone, masipila, heddn, Gábor Hojtsy, maxocub: Migrate D6 comment type language settings
parent a98b5876
id: d6_language_content_comment_settings
label: Drupal 6 language content comment settings
migration_tags:
- Drupal 6
- Configuration
- Multilingual
source:
plugin: d6_language_content_settings
constants:
target_type: comment
id_prefix: comment_node_
label_suffix: comment
process:
# Ignore i18n_node_options_[node_type] options not available in Drupal 8,
# i18n_required_node and i18n_newnode_current
target_bundle:
-
plugin: concat
source:
- constants/id_prefix
- type
-
plugin: static_map
bypass: true
# The Forum module provides its own comment type (comment_forum), which we
# want to reuse if it exists.
map:
comment_node_forum: comment_forum
target_entity_type_id: constants/target_type
default_langcode:
-
plugin: static_map
source: language_content_type
map:
0: site_default
1: current_interface
2: current_interface
-
plugin: skip_on_empty
method: row
language_alterable:
plugin: static_map
source: language_content_type
map:
0: false
1: true
2: true
'third_party_settings/content_translation/enabled':
plugin: static_map
source: language_content_type
map:
# In the case of being 0, it will be skipped. We are not actually setting
# a null value.
0: NULL
1: false
2: false
destination:
plugin: entity:language_content_settings
content_translation_update_definitions:
- comment
migration_dependencies:
required:
- d6_comment_type
<?php
namespace Drupal\Tests\language\Kernel\Migrate\d6;
use Drupal\language\Entity\ContentLanguageSettings;
use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
/**
* Tests migration of language content comment settings.
*
* @group migrate_drupal_6
*/
class MigrateLanguageContentCommentSettingsTest extends MigrateDrupal6TestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
'comment',
'language',
'content_translation',
];
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
$this->installConfig(['comment']);
$this->executeMigrations([
'd6_comment_type',
'd6_language_content_comment_settings',
]);
}
/**
* Tests migration of comment content language settings.
*/
public function testLanguageCommentSettings() {
// Article and Employee content type have multilingual settings of 'Enabled,
// with Translation'. Assert that comments are not translatable and the
// default language is 'current_interface'.
$config = ContentLanguageSettings::loadByEntityTypeBundle('comment', 'comment_node_article');
$this->assertSame('comment', $config->getTargetEntityTypeId());
$this->assertSame('comment_node_article', $config->getTargetBundle());
$this->assertSame('current_interface', $config->getDefaultLangcode());
$this->assertTrue($config->isLanguageAlterable());
$third_party_settings = [
'content_translation' => [
'enabled' => FALSE,
],
];
$this->assertSame($third_party_settings, $config->get('third_party_settings'));
$config = ContentLanguageSettings::loadByEntityTypeBundle('comment', 'comment_node_employee');
$this->assertSame('comment', $config->getTargetEntityTypeId());
$this->assertSame('comment_node_employee', $config->getTargetBundle());
$this->assertSame('current_interface', $config->getDefaultLangcode());
$this->assertTrue($config->isLanguageAlterable());
$this->assertSame($third_party_settings, $config->get('third_party_settings'));
// Sponsor content type has multilingual settings of 'Enabled'. Assert that
// comments are not translatable and the default language is
// 'current_interface'.
$config = ContentLanguageSettings::loadByEntityTypeBundle('comment', 'comment_node_sponsor');
$this->assertSame('comment', $config->getTargetEntityTypeId());
$this->assertSame('comment_node_sponsor', $config->getTargetBundle());
$this->assertSame('current_interface', $config->getDefaultLangcode());
$this->assertTrue($config->isLanguageAlterable());
$this->assertSame($third_party_settings, $config->get('third_party_settings'));
// Assert that non-translatable content is not translatable and the default
// language is 'site_default.
$not_translatable = [
'comment_node_company',
'comment_node_event',
'comment_node_page',
'comment_node_story',
'comment_node_test_event',
'comment_node_test_page',
'comment_node_test_planet',
'comment_node_test_story',
'comment_forum',
'comment_node_event',
];
foreach ($not_translatable as $bundle) {
$config = ContentLanguageSettings::loadByEntityTypeBundle('comment', $bundle);
$this->assertTrue($config->isDefaultConfiguration());
$this->assertFalse($config->isLanguageAlterable());
$this->assertSame('site_default', $config->getDefaultLangcode(), "Default language is not 'site_default' for comment bundle $bundle");
}
}
}
......@@ -34507,6 +34507,222 @@
'p9' => '0',
'updated' => '0',
))
->values(array(
'menu_name' => 'navigation',
'mlid' => '464',
'plid' => '158',
'link_path' => 'node/add/page',
'router_path' => 'node/add/page',
'link_title' => 'Page',
'options' => "a:1:{s:10:\"attributes\";a:1:{s:5:\"title\";s:296:\"A <em>page</em>, similar in form to a <em>story</em>, is a simple method for creating and displaying information that rarely changes, such as an \"About us\" section of a website. By default, a <em>page</em> entry does not allow visitor comments and is not featured on the site's initial home page.\";}}",
'module' => 'system',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'depth' => '2',
'customized' => '0',
'p1' => '158',
'p2' => '464',
'p3' => '0',
'p4' => '0',
'p5' => '0',
'p6' => '0',
'p7' => '0',
'p8' => '0',
'p9' => '0',
'updated' => '0',
))
->values(array(
'menu_name' => 'navigation',
'mlid' => '465',
'plid' => '157',
'link_path' => 'admin/content/node-type/page',
'router_path' => 'admin/content/node-type/page',
'link_title' => 'Page',
'options' => 'a:0:{}',
'module' => 'system',
'hidden' => '-1',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'depth' => '3',
'customized' => '0',
'p1' => '144',
'p2' => '157',
'p3' => '465',
'p4' => '0',
'p5' => '0',
'p6' => '0',
'p7' => '0',
'p8' => '0',
'p9' => '0',
'updated' => '0',
))
->values(array(
'menu_name' => 'navigation',
'mlid' => '466',
'plid' => '0',
'link_path' => 'admin/content/node-type/page/delete',
'router_path' => 'admin/content/node-type/page/delete',
'link_title' => 'Delete',
'options' => 'a:0:{}',
'module' => 'system',
'hidden' => '-1',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'depth' => '1',
'customized' => '0',
'p1' => '466',
'p2' => '0',
'p3' => '0',
'p4' => '0',
'p5' => '0',
'p6' => '0',
'p7' => '0',
'p8' => '0',
'p9' => '0',
'updated' => '0',
))
->values(array(
'menu_name' => 'navigation',
'mlid' => '467',
'plid' => '0',
'link_path' => 'admin/content/node-type/employee/fields/field_company_2/remove',
'router_path' => 'admin/content/node-type/employee/fields/field_company_2/remove',
'link_title' => 'Remove field',
'options' => 'a:0:{}',
'module' => 'system',
'hidden' => '-1',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'depth' => '1',
'customized' => '0',
'p1' => '467',
'p2' => '0',
'p3' => '0',
'p4' => '0',
'p5' => '0',
'p6' => '0',
'p7' => '0',
'p8' => '0',
'p9' => '0',
'updated' => '0',
))
->values(array(
'menu_name' => 'navigation',
'mlid' => '468',
'plid' => '0',
'link_path' => 'admin/content/node-type/employee/fields/field_company_3/remove',
'router_path' => 'admin/content/node-type/employee/fields/field_company_3/remove',
'link_title' => 'Remove field',
'options' => 'a:0:{}',
'module' => 'system',
'hidden' => '-1',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'depth' => '1',
'customized' => '0',
'p1' => '468',
'p2' => '0',
'p3' => '0',
'p4' => '0',
'p5' => '0',
'p6' => '0',
'p7' => '0',
'p8' => '0',
'p9' => '0',
'updated' => '0',
))
->values(array(
'menu_name' => 'navigation',
'mlid' => '469',
'plid' => '0',
'link_path' => 'admin/content/node-type/page/fields/field_reference/remove',
'router_path' => 'admin/content/node-type/page/fields/field_reference/remove',
'link_title' => 'Remove field',
'options' => 'a:0:{}',
'module' => 'system',
'hidden' => '-1',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'depth' => '1',
'customized' => '0',
'p1' => '469',
'p2' => '0',
'p3' => '0',
'p4' => '0',
'p5' => '0',
'p6' => '0',
'p7' => '0',
'p8' => '0',
'p9' => '0',
'updated' => '0',
))
->values(array(
'menu_name' => 'navigation',
'mlid' => '470',
'plid' => '0',
'link_path' => 'admin/content/node-type/page/fields/field_reference_2/remove',
'router_path' => 'admin/content/node-type/page/fields/field_reference_2/remove',
'link_title' => 'Remove field',
'options' => 'a:0:{}',
'module' => 'system',
'hidden' => '-1',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'depth' => '1',
'customized' => '0',
'p1' => '470',
'p2' => '0',
'p3' => '0',
'p4' => '0',
'p5' => '0',
'p6' => '0',
'p7' => '0',
'p8' => '0',
'p9' => '0',
'updated' => '0',
))
->values(array(
'menu_name' => 'navigation',
'mlid' => '471',
'plid' => '0',
'link_path' => 'admin/content/node-type/story/fields/field_test_string_selectlist/remove',
'router_path' => 'admin/content/node-type/story/fields/field_test_string_selectlist/remove',
'link_title' => 'Remove field',
'options' => 'a:0:{}',
'module' => 'system',
'hidden' => '-1',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '0',
'depth' => '1',
'customized' => '0',
'p1' => '471',
'p2' => '0',
'p3' => '0',
'p4' => '0',
'p5' => '0',
'p6' => '0',
'p7' => '0',
'p8' => '0',
'p9' => '0',
'updated' => '0',
))
->execute();
$connection->schema()->createTable('menu_router', array(
'fields' => array(
......@@ -37235,56 +37451,320 @@
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:3:{i:0;s:23:"content_field_edit_form";i:1;s:8:"employee";i:2;s:13:"field_company";}',
'fit' => '63',
'number_parts' => '6',
'tab_parent' => 'admin/content/node-type/employee/fields',
'tab_root' => 'admin/content/node-type/employee',
'title' => 'Company',
'page_arguments' => 'a:3:{i:0;s:23:"content_field_edit_form";i:1;s:8:"employee";i:2;s:13:"field_company";}',
'fit' => '63',
'number_parts' => '6',
'tab_parent' => 'admin/content/node-type/employee/fields',
'tab_root' => 'admin/content/node-type/employee',
'title' => 'Company',
'title_callback' => 't',
'title_arguments' => '',
'type' => '128',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '0',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
))
->values(array(
'path' => 'admin/content/node-type/employee/fields/field_company/remove',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:3:{i:0;s:25:"content_field_remove_form";i:1;s:8:"employee";i:2;s:13:"field_company";}',
'fit' => '127',
'number_parts' => '7',
'tab_parent' => '',
'tab_root' => 'admin/content/node-type/employee/fields/field_company/remove',
'title' => 'Remove field',
'title_callback' => 't',
'title_arguments' => '',
'type' => '4',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '0',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
))
->values(array(
'path' => 'admin/content/node-type/employee/fields/field_company_2',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:3:{i:0;s:23:"content_field_edit_form";i:1;s:8:"employee";i:2;s:15:"field_company_2";}',
'fit' => '63',
'number_parts' => '6',
'tab_parent' => 'admin/content/node-type/employee/fields',
'tab_root' => 'admin/content/node-type/employee',
'title' => 'Company 2',
'title_callback' => 't',
'title_arguments' => '',
'type' => '128',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '0',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
))
->values(array(
'path' => 'admin/content/node-type/employee/fields/field_company_2/remove',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:3:{i:0;s:25:"content_field_remove_form";i:1;s:8:"employee";i:2;s:15:"field_company_2";}',
'fit' => '127',
'number_parts' => '7',
'tab_parent' => '',
'tab_root' => 'admin/content/node-type/employee/fields/field_company_2/remove',
'title' => 'Remove field',
'title_callback' => 't',
'title_arguments' => '',
'type' => '4',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '0',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
))
->values(array(
'path' => 'admin/content/node-type/employee/fields/field_company_3',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:3:{i:0;s:23:"content_field_edit_form";i:1;s:8:"employee";i:2;s:15:"field_company_3";}',
'fit' => '63',
'number_parts' => '6',
'tab_parent' => 'admin/content/node-type/employee/fields',
'tab_root' => 'admin/content/node-type/employee',
'title' => 'Company 3',
'title_callback' => 't',
'title_arguments' => '',
'type' => '128',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '0',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
))
->values(array(
'path' => 'admin/content/node-type/employee/fields/field_company_3/remove',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:3:{i:0;s:25:"content_field_remove_form";i:1;s:8:"employee";i:2;s:15:"field_company_3";}',
'fit' => '127',
'number_parts' => '7',
'tab_parent' => '',
'tab_root' => 'admin/content/node-type/employee/fields/field_company_3/remove',
'title' => 'Remove field',
'title_callback' => 't',
'title_arguments' => '',
'type' => '4',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '0',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
))
->values(array(
'path' => 'admin/content/node-type/forum',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:2:{i:0;s:14:"node_type_form";i:1;O:8:"stdClass":15:{s:4:"name";s:11:"Forum topic";s:6:"module";s:5:"forum";s:11:"description";s:85:"A <em>forum topic</em> is the initial post to a new discussion thread within a forum.";s:11:"title_label";s:7:"Subject";s:4:"type";s:5:"forum";s:9:"has_title";b:1;s:8:"has_body";b:1;s:10:"body_label";s:4:"Body";s:4:"help";s:0:"";s:14:"min_word_count";i:0;s:6:"custom";b:0;s:8:"modified";b:0;s:6:"locked";b:1;s:9:"orig_type";s:5:"forum";s:6:"is_new";b:1;}}',
'fit' => '15',
'number_parts' => '4',
'tab_parent' => '',
'tab_root' => 'admin/content/node-type/forum',
'title' => 'Forum topic',
'title_callback' => 't',
'title_arguments' => '',
'type' => '4',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '0',
'file' => 'modules/node/content_types.inc',
))
->values(array(
'path' => 'admin/content/node-type/forum/delete',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:2:{i:0;s:24:"node_type_delete_confirm";i:1;O:8:"stdClass":15:{s:4:"name";s:11:"Forum topic";s:6:"module";s:5:"forum";s:11:"description";s:85:"A <em>forum topic</em> is the initial post to a new discussion thread within a forum.";s:11:"title_label";s:7:"Subject";s:4:"type";s:5:"forum";s:9:"has_title";b:1;s:8:"has_body";b:1;s:10:"body_label";s:4:"Body";s:4:"help";s:0:"";s:14:"min_word_count";i:0;s:6:"custom";b:0;s:8:"modified";b:0;s:6:"locked";b:1;s:9:"orig_type";s:5:"forum";s:6:"is_new";b:1;}}',
'fit' => '31',
'number_parts' => '5',
'tab_parent' => '',
'tab_root' => 'admin/content/node-type/forum/delete',
'title' => 'Delete',
'title_callback' => 't',
'title_arguments' => '',
'type' => '4',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '0',
'file' => 'modules/node/content_types.inc',
))
->values(array(
'path' => 'admin/content/node-type/forum/display',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:2:{i:0;s:29:"content_display_overview_form";i:1;s:5:"forum";}',
'fit' => '31',
'number_parts' => '5',
'tab_parent' => 'admin/content/node-type/forum',
'tab_root' => 'admin/content/node-type/forum',
'title' => 'Display fields',
'title_callback' => 't',
'title_arguments' => '',
'type' => '128',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '2',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
))
->values(array(
'path' => 'admin/content/node-type/forum/display/basic',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:3:{i:0;s:29:"content_display_overview_form";i:1;s:5:"forum";i:2;s:5:"basic";}',
'fit' => '63',
'number_parts' => '6',
'tab_parent' => 'admin/content/node-type/forum/display',
'tab_root' => 'admin/content/node-type/forum',
'title' => 'Basic',
'title_callback' => 't',
'title_arguments' => '',
'type' => '136',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '0',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
))
->values(array(
'path' => 'admin/content/node-type/forum/display/print',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:3:{i:0;s:29:"content_display_overview_form";i:1;s:5:"forum";i:2;s:5:"print";}',
'fit' => '63',
'number_parts' => '6',
'tab_parent' => 'admin/content/node-type/forum/display',
'tab_root' => 'admin/content/node-type/forum',
'title' => 'Print',
'title_callback' => 't',
'title_arguments' => '',
'type' => '128',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '1',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
))
->values(array(
'path' => 'admin/content/node-type/forum/display/rss',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:3:{i:0;s:29:"content_display_overview_form";i:1;s:5:"forum";i:2;s:3:"rss";}',
'fit' => '63',
'number_parts' => '6',
'tab_parent' => 'admin/content/node-type/forum/display',
'tab_root' => 'admin/content/node-type/forum',
'title' => 'RSS',
'title_callback' => 't',
'title_arguments' => '',
'type' => '128',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '1',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
))
->values(array(
'path' => 'admin/content/node-type/forum/edit',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:2:{i:0;s:14:"node_type_form";i:1;O:8:"stdClass":15:{s:4:"name";s:11:"Forum topic";s:6:"module";s:5:"forum";s:11:"description";s:85:"A <em>forum topic</em> is the initial post to a new discussion thread within a forum.";s:11:"title_label";s:7:"Subject";s:4:"type";s:5:"forum";s:9:"has_title";b:1;s:8:"has_body";b:1;s:10:"body_label";s:4:"Body";s:4:"help";s:0:"";s:14:"min_word_count";i:0;s:6:"custom";b:0;s:8:"modified";b:0;s:6:"locked";b:1;s:9:"orig_type";s:5:"forum";s:6:"is_new";b:1;}}',
'fit' => '31',
'number_parts' => '5',
'tab_parent' => 'admin/content/node-type/forum',
'tab_root' => 'admin/content/node-type/forum',
'title' => 'Edit',
'title_callback' => 't',
'title_arguments' => '',
'type' => '128',
'type' => '136',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '0',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
'file' => 'modules/node/content_types.inc',
))
->values(array(
'path' => 'admin/content/node-type/employee/fields/field_company/remove',
'path' => 'admin/content/node-type/forum/fields',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:3:{i:0;s:25:"content_field_remove_form";i:1;s:8:"employee";i:2;s:13:"field_company";}',
'fit' => '127',
'number_parts' => '7',
'tab_parent' => '',
'tab_root' => 'admin/content/node-type/employee/fields/field_company/remove',
'title' => 'Remove field',
'page_arguments' => 'a:2:{i:0;s:27:"content_field_overview_form";i:1;s:5:"forum";}',
'fit' => '31',
'number_parts' => '5',
'tab_parent' => 'admin/content/node-type/forum',
'tab_root' => 'admin/content/node-type/forum',
'title' => 'Manage fields',
'title_callback' => 't',
'title_arguments' => '',
'type' => '4',
'type' => '128',
'block_callback' => '',
'description' => '',
'position' => '',
'weight' => '0',
'weight' => '1',
'file' => 'sites/all/modules/cck/includes/content.admin.inc',
))
->values(array(
'path' => 'admin/content/node-type/forum',
'path' => 'admin/content/node-type/page',
'load_functions' => '',
'to_arg_functions' => '',
'access_callback' => 'user_access',
'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}',
'page_callback' => 'drupal_get_form',
'page_arguments' => 'a:2:{i:0;s:14:"node_type_form";i:1;O:8:"stdClass":15:{s:4:"name";s:11:"Forum topic";s:6:"module";s:5:"forum";s:11:"description";s:85:"A <em>forum topic</em> is the initial post to a new discussion thread within a forum.";s:11:"title_label";s:7:"Subject";s:4:"type";s:5:"forum";s:9:"has_title";b:1;s:8:"has_body";b:1;s:10:"body_label";s:4:"Body";s:4:"help";s:0:"";s:14:"min_word_count";i:0;s:6:"custom";b:0;s:8:"modified";b:0;s:6:"locked";b:1;s:9:"orig_type";s:5:"forum";s:6:"is_new";b:1;}}',
'page_arguments' => "a:2:{i:0;s:14:\"node_type_form\";i:1;O:8:\"stdClass\":14:{s:4:\"type\";s:4:\"page\";s:4:\"name\";s:4:\"Page\";s:6:\"module\";s:4:\"node\";s:11:\"description\";s:296:\"A <em>page</em>, similar in form to a <em>story</em>, is a simple method for creating and displaying information that rarely changes, such as an \"About us\" section of a website. By default, a <em>page</em> entry does not allow visitor comments and is not featured on the site's initial home page.\";s:4:\"help\";s:0:\"\";s:9:\"has_title\";s:1:\"1\";s:11:\"title_label\";s:5:\"Title\";s:8:\"has_body\";s:1:\"1\";s:10:\"body_label\";s:4:\"Body\";s:14:\"min_word_count\";s:1:\"0\";s:6:\"custom\";s:1:\"1\";s:8:\"modified\";s:1:\"1\";s:6:\"locked\";s:1:\"0\";s:9:\"orig_type\";s:4:\"page\";}}",
'fit' => '15',
'number_parts' => '4',
'tab_parent' => '',
'tab_root' => 'admin/content/node-type/forum',
'title' => 'Forum topic',
'tab_root' => 'admin/content/node-type/page',
'title' => 'Page',
'title_callback' => 't',
'title_arguments' => '',
'type' => '4',
......@@ -37295,17 +37775,17 @@