Skip to content
Snippets Groups Projects
Commit 98ea1631 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2156945 by amateescu: Clean up installer entity defaults following bugfix.

parent 4d166e5e
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -39,7 +39,6 @@ function forum_install() {
// Create a default forum so forum posts can be created.
$term = entity_create('taxonomy_term', array(
'name' => t('General discussion'),
'langcode' => language_default()->id,
'description' => '',
'parent' => array(0),
'vid' => 'forums',
......
......@@ -64,7 +64,6 @@ function standard_install() {
'title' => t('Add content'),
'weight' => -20,
'path' => 'node/add',
'langcode' => language_default()->id,
));
$shortcut->save();
......@@ -73,7 +72,6 @@ function standard_install() {
'title' => t('All content'),
'weight' => -19,
'path' => 'admin/content',
'langcode' => language_default()->id,
));
$shortcut->save();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment