diff --git a/core/modules/taxonomy/taxonomy.install b/core/modules/taxonomy/taxonomy.install index 17eb15f..ef017a7 100644 --- a/core/modules/taxonomy/taxonomy.install +++ b/core/modules/taxonomy/taxonomy.install @@ -357,7 +357,7 @@ function taxonomy_update_8007() { // Create instances for existing vocabularies. foreach ($vocabularies as $vocabulary) { - $vocabulary = substr($vocabulary, strlen('taxonomy.vocabulary.')); + $vocabulary = substr($vocabulary, drupal_strlen('taxonomy.vocabulary.')); // Attaches the description field to each bundle. $instance = array( 'field_name' => 'taxonomy_term_description', diff --git a/core/profiles/standard/standard.install b/core/profiles/standard/standard.install index 741f857..92b8451 100644 --- a/core/profiles/standard/standard.install +++ b/core/profiles/standard/standard.install @@ -148,4 +148,11 @@ function standard_install() { theme_enable(array('seven')); config('system.theme')->set('admin', 'seven')->save(); variable_set('node_admin_theme', '1'); + + // Configure the widget for the taxonomy term description field. + entity_get_form_display('taxonomy_term', 'tags', 'default') + ->setComponent('taxonomy_term_description', array( + 'type' => 'text_textarea', + )) + ->save(); }