Implement hook_views_data() to expose classification to views

Created on 22 July 2020, over 4 years ago
Updated 27 April 2023, over 1 year ago

Drupal.org would need to use a view that shows all the nodes/comments Akismet thinks spam, to allow Drupal.org site moderators to check which unpublished nodes/comments are effectively spam (to block the account used to post them) and which nodes/comments are ham (to unpublish them and eventually give to the user the confirmed role).

The module does not actually implement hook_views_data(), so it is not possible to build a view listing, for example, all the nodes Akismet thinks spam.
Implementing hook_views_data() would make this possible.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

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.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • First commit to issue fork.
  • 🇺🇸United States Arlina

    Updating version to create branch under 2.x.

  • @arlina opened merge request.
  • Status changed to Needs review over 1 year ago
  • 🇺🇸United States Arlina

    Created a PR that provides views integration for the Akismet table, as well as relationships to the node and comment entities.
    PR was made against current 2.x but since the table structure is the same for 8.x-1.x, it would work for that version as well.

Production build 0.71.5 2024