Implementing a custom column for existing item typesΒΆ

Implementing a custom column for existing item types is not any different from implementing a column for your own custom item type.

The process involves adding a bit of configuration to enable the column:

netgen_content_browser:
    ezlocation:
        columns:
            my_column:
                name: columns.ezlocation.my_column
                # Either specify a template or a value provider identifier
                template: '@App/ngcb/ezlocation/my_column.html.twig'
                # value_provider: ezlocation\my_column

And then you need to either create a template that will render the cell of the column, or create and register a Symfony service that does the same. For more details, read the relevant sections in the chapter about creating a custom backend.