Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
idea for advanced use: If the rules module is available, allow using a condition set for deciding whether an entity should be indexed. That would be *very* useful for being able to create indexes suiting for special needs. (The rules UI can be embedded easily.)
Comments
Comment #1
drunken monkeyAh, I already planned on providing additional data-alter callbacks that allow filtering depending on bundle, language or other such things that are possible in a generic way, but if Rules provides a UI based on entity type alone, this of course would be a far better option.
But I don't think I'll have enough time to add such features at the moment, when there are still some pressing bugs or critical missing features, so this might take a while.
But of course, patches are welcome. ;)
#917998: Make data alter callbacks objects and let them have a configuration form would be a pre-requisite in any case (if I don't add another way to filter out specific items, which would be superfluous imo), but if I knew someone really needed it, I would make that a priority.
Comment #2
fagoAs we now have data-alter callbacks that can do that, I think we could integrate Rules the samy way, right?
Comment #3
drunken monkeyYes, of course — it's just a question of actually doing that, since I don't believe it's that easy to do …
Comment #4
Nick_vhDo we want to bump this feature request up to Drupal 8? I don't know if rules and drupal 8 is a combination that will be ready. Up until then I suppose this can stay in the D7 feature request lane.
Comment #5
Nick_vhComment #6
legolasboThis issue has not seen activity in over 2,5 years. I am therefore closing this issue to clean up the issue queue. Feel free to re-open and update this issue if you feel this issue is still relevant and of importance.