Author:
Source
Creating Dynamic Tabs on Content Types
mandclu
Fri, 04/14/2023 – 06:24
Towards the end of 2021 I had an idea: what if Drupal could expose content in a grid, similar to what users might be used to in database GUIs like Sequel Pro or Sequel Ace? I was able to put together a simple proof of concept, and the Autogrid module was born.I had originally wanted this to be available as a tab on relevant bundles (content types, taxonomy vocabularies, etc) but at the time I wasn’t sure how to implement this, so I created a custom menu item where a user could manually choose a content entity type, then a bundle, and then see the grid. After all, as Seth Godin famously said in his book Linchpin, “Real artists ship.”I kept wanting to come back to my original vision, however, so I recently decided to invest some time into making it work. It took some investigation, and I