diff --git a/core/modules/file/lib/Drupal/file/Plugin/field/formatter/FileFormatterBase.php b/core/modules/file/lib/Drupal/file/Plugin/field/formatter/FileFormatterBase.php index 76e15d7..2ef9df2 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/field/formatter/FileFormatterBase.php +++ b/core/modules/file/lib/Drupal/file/Plugin/field/formatter/FileFormatterBase.php @@ -18,8 +18,6 @@ * {@inheritdoc} */ public function prepareView(array $entities, $langcode, array $items) { - parent::prepareView($entities, $langcode, $items); - // Remove files specified to not be displayed. $fids = array(); foreach ($entities as $id => $entity) { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/TaxonomyFormatterBase.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/TaxonomyFormatterBase.php index 9ab8792..a0ed35f 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/TaxonomyFormatterBase.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/TaxonomyFormatterBase.php @@ -25,8 +25,6 @@ * unsets values for invalid terms that do not exist. */ public function prepareView(array $entities, $langcode, array $items) { - parent::prepareView($entities, $langcode, $items); - $tids = array(); // Collect every possible term attached to any of the fieldable entities.