Make "site" an entity type

Created on 30 April 2013, about 11 years ago
Updated 2 May 2023, about 1 year ago

It would be nice if a site would be made it's own entity type. This would provide several benefits and would make monitoring and reporting alot more flexible.

Some benefits that come to mind :

  • Fieldable - You could add any field you want to a site. If you would like to add a title field, image, owner, comments, relations etc, it's all supported (often) out of the box. You could even add different bundles for different kind of sites
  • Views Integration - you could easily create custom listings with own filters, sorting, layouts, exports etc.
  • Many more integrations with other modules (rules etc)
  • CRUD for creating and managing site entities
  • Entity access - you could give specific access to sites via contrib modules (OG, own sites only, workflow etc)
  • Much easier unit testing
  • This module would be easier to integrate in other sites (fe. commerce , aegir, ...)
  • ...

This would mean a major rewrite, but I think this would be an awesome improvement for a new branch.
What do you think?

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium interX Flanders

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Won't be fixed for 7.x anymore but we should check if this is already the case for 8.x! :)

  • Status changed to Closed: outdated about 1 year ago
  • πŸ‡©πŸ‡ͺGermany Grevil

    Seems like this was implemented! Not as "Site" but instead as "Production Check". At least the "7.x-2.x-dev" was merged a while ago, so I think people forgot to close this issue!?

Production build 0.69.0 2024