---
title: "Discussion on \"How to extend a field formatter in Drupal 9\" | Hashnode"
description: "Discussion on \"How to extend a field formatter in Drupal 9\". I wanted to change how the address field was rendering the address in a View.  Since Drupal 9 uses OOPs heavily I thought the best way was to extend the current field formatter in the Address field since we would not have to duplicate the code unnece..."
url: "https://hashnode.com/posts/how-to-extend-a-field-formatter-in-drupal-9/62a20fe46cc4647a1b004ec6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to extend a field formatter in Drupal 9](https://binnythomas.hashnode.dev/how-to-extend-a-field-formatter-in-drupal-9?utm_source=hashnode&utm_medium=feed)

I wanted to change how the address field was rendering the address in a View. Since Drupal 9 uses OOPs heavily I thought the best way was to extend the current field formatter in the Address field since we would not have to duplicate the code unnece...

Jun 9, 2022 · 1 min read · binnythomas.hashnode.dev  
Read the article

-   [#drupal](https://hashnode.com/tag/drupal)
-   [#php](https://hashnode.com/tag/php)

## Written by

[Binny Thomas](https://hashnode.com/@binnykt)

@binnykt

  
[View profile](https://hashnode.com/@binnykt)

Drupal developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
