0

As a content admin, are there any feasible ways in Drupal 8 to search the source HTML of certain Text fields across multiple content types. For example, I want to find all nodes that contain <div class='special-list'> in one or more Text fields.

For Drupal 7, it seems that Views Bulk Operations would suffice. Has anyone encountered a similar need in D8?

0

VBO doesn't search, it only gives you the interface to select items in the Views results and perform actions on them.

To construct the search you want you can use ordinary Views with the Combine fields filter filter, here's one video tutorial: Search across Fields in Views using Combine Fields Filter in Drupal 8, or use Search API for something more advanced.

Once you have the search working you can add the VBO field if you need to do some actions on the found items.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.