Update to Drupal 8.0.2. For more information, see https://www.drupal.org/drupal-8.0.2-release-notes
This commit is contained in:
parent
1a0e9d9fac
commit
a6b049dd05
538 changed files with 5247 additions and 1594 deletions
|
@ -88,6 +88,48 @@ $connection->insert('actions')
|
|||
'parameters',
|
||||
'description',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '1',
|
||||
'type' => 'comment',
|
||||
'callback' => 'comment_unpublish_by_keyword_action',
|
||||
'parameters' => 'a:1:{s:8:"keywords";a:1:{i:0;s:6:"drupal";}}',
|
||||
'description' => 'Unpublish comment containing keyword(s)',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '2',
|
||||
'type' => 'node',
|
||||
'callback' => 'node_assign_owner_action',
|
||||
'parameters' => 'a:1:{s:9:"owner_uid";s:1:"2";}',
|
||||
'description' => 'Change the author of a post',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '3',
|
||||
'type' => 'node',
|
||||
'callback' => 'node_unpublish_by_keyword_action',
|
||||
'parameters' => 'a:1:{s:8:"keywords";a:1:{i:0;s:6:"drupal";}}',
|
||||
'description' => 'Unpublish post containing keyword(s)',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '4',
|
||||
'type' => 'system',
|
||||
'callback' => 'system_message_action',
|
||||
'parameters' => 'a:1:{s:7:"message";s:21:"Drupal migration test";}',
|
||||
'description' => 'Display a message to the user',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '5',
|
||||
'type' => 'system',
|
||||
'callback' => 'system_send_email_action',
|
||||
'parameters' => 'a:3:{s:9:"recipient";s:16:"test@example.com";s:7:"subject";s:21:"Drupal migration test";s:7:"message";s:21:"Drupal migration test";}',
|
||||
'description' => 'Send e-mail',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '6',
|
||||
'type' => 'system',
|
||||
'callback' => 'system_goto_action',
|
||||
'parameters' => 'a:1:{s:3:"url";s:22:"https://www.drupal.org";}',
|
||||
'description' => 'Redirect to URL',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => 'comment_publish_action',
|
||||
'type' => 'comment',
|
||||
|
@ -196,6 +238,30 @@ $connection->schema()->createTable('actions_aid', array(
|
|||
'mysql_character_set' => 'utf8',
|
||||
));
|
||||
|
||||
$connection->insert('actions_aid')
|
||||
->fields(array(
|
||||
'aid',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '1',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '2',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '3',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '4',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '5',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '6',
|
||||
))
|
||||
->execute();
|
||||
|
||||
$connection->schema()->createTable('aggregator_category', array(
|
||||
'fields' => array(
|
||||
'cid' => array(
|
||||
|
|
|
@ -417,6 +417,48 @@ $connection->insert('actions')
|
|||
'parameters',
|
||||
'label',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '2',
|
||||
'type' => 'comment',
|
||||
'callback' => 'comment_unpublish_by_keyword_action',
|
||||
'parameters' => 'a:1:{s:8:"keywords";a:1:{i:0;s:6:"drupal";}}',
|
||||
'label' => 'Unpublish comment containing keyword(s)',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '3',
|
||||
'type' => 'node',
|
||||
'callback' => 'node_assign_owner_action',
|
||||
'parameters' => 'a:1:{s:9:"owner_uid";s:1:"2";}',
|
||||
'label' => 'Change the author of content',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '4',
|
||||
'type' => 'node',
|
||||
'callback' => 'node_unpublish_by_keyword_action',
|
||||
'parameters' => 'a:1:{s:8:"keywords";a:1:{i:0;s:6:"drupal";}}',
|
||||
'label' => 'Unpublish content containing keyword(s)',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '5',
|
||||
'type' => 'system',
|
||||
'callback' => 'system_message_action',
|
||||
'parameters' => 'a:1:{s:7:"message";s:21:"Drupal migration test";}',
|
||||
'label' => 'Display a message to the user',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '6',
|
||||
'type' => 'system',
|
||||
'callback' => 'system_send_email_action',
|
||||
'parameters' => 'a:3:{s:9:"recipient";s:16:"test@example.com";s:7:"subject";s:21:"Drupal migration test";s:7:"message";s:21:"Drupal migration test";}',
|
||||
'label' => 'Send e-mail',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => '7',
|
||||
'type' => 'system',
|
||||
'callback' => 'system_goto_action',
|
||||
'parameters' => 'a:1:{s:3:"url";s:22:"https://www.drupal.org";}',
|
||||
'label' => 'Redirect to URL',
|
||||
))
|
||||
->values(array(
|
||||
'aid' => 'comment_publish_action',
|
||||
'type' => 'comment',
|
||||
|
@ -18829,7 +18871,7 @@ $connection->insert('menu_links')
|
|||
->values(array(
|
||||
'menu_name' => 'menu-test-menu',
|
||||
'mlid' => '467',
|
||||
'plid' => '0',
|
||||
'plid' => '469',
|
||||
'link_path' => 'http://google.com',
|
||||
'router_path' => '',
|
||||
'link_title' => 'Google',
|
||||
|
@ -18840,10 +18882,10 @@ $connection->insert('menu_links')
|
|||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '0',
|
||||
'depth' => '1',
|
||||
'depth' => '2',
|
||||
'customized' => '1',
|
||||
'p1' => '467',
|
||||
'p2' => '0',
|
||||
'p1' => '469',
|
||||
'p2' => '467',
|
||||
'p3' => '0',
|
||||
'p4' => '0',
|
||||
'p5' => '0',
|
||||
|
@ -19015,6 +19057,33 @@ $connection->insert('menu_links')
|
|||
'p9' => '0',
|
||||
'updated' => '0',
|
||||
))
|
||||
->values(array(
|
||||
'menu_name' => 'management',
|
||||
'mlid' => '478',
|
||||
'plid' => '20',
|
||||
'link_path' => 'admin/content/book',
|
||||
'router_path' => 'admin/content/book',
|
||||
'link_title' => 'custom link test',
|
||||
'options' => 'a:1:{s:10:"attributes";a:1:{s:5:"title";s:0:"";}}',
|
||||
'module' => 'menu',
|
||||
'hidden' => '0',
|
||||
'external' => '0',
|
||||
'has_children' => '0',
|
||||
'expanded' => '0',
|
||||
'weight' => '0',
|
||||
'depth' => '3',
|
||||
'customized' => '1',
|
||||
'p1' => '1',
|
||||
'p2' => '20',
|
||||
'p3' => '478',
|
||||
'p4' => '0',
|
||||
'p5' => '0',
|
||||
'p6' => '0',
|
||||
'p7' => '0',
|
||||
'p8' => '0',
|
||||
'p9' => '0',
|
||||
'updated' => '0',
|
||||
))
|
||||
->execute();
|
||||
|
||||
$connection->schema()->createTable('menu_router', array(
|
||||
|
|
Reference in a new issue