diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php index 320bec0..5bf7203 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php @@ -231,6 +231,7 @@ public static function baseFieldDefinitions($entity_type) { 'label' => t('Description'), 'description' => t('A description of the term'), 'type' => 'field_item:text_long', + 'settings' => array('text_processing' => 1), ); $properties['weight'] = array( 'label' => t('Weight'), diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/TermViewBuilder.php b/core/modules/taxonomy/lib/Drupal/taxonomy/TermViewBuilder.php index 2497dd6..96f925f 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/TermViewBuilder.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/TermViewBuilder.php @@ -24,10 +24,11 @@ public function buildContent(array $entities, array $displays, $view_mode, $lang foreach ($entities as $entity) { // Add the description if enabled. + // @todo Remove this when base fields will be able to use formatters. $display = $displays[$entity->bundle()]; if (!empty($entity->description->value) && $display->getComponent('description')) { $entity->content['description'] = array( - '#markup' => check_markup($entity->description->value, $entity->description->format, '', TRUE), + '#markup' => $entity->description->processed, '#prefix' => '
$value
\n"); + // Check that the term feed page is working. $this->drupalGet('taxonomy/term/' . $term->id() . '/feed');