Search API: indexing nodes including comments

Drupal Search

When you use Search API (and you should because core search sucks) and you want to index nodes with comments you might get stuck because comments are not a related field which is available. This is weird you might think, but luckely, this entity API patch fixes this "relationship" and makes it instantly available via search API fields. Other options are writing your custom field using hook_entity_property_info_alter

TWIG in Drupal 8: getting started

Read More »


This is the company blog of
Drupal specialist

We are located in Breda (Netherlands) and build websites using Drupal. More about us.

Content on this blog is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Netherlands License.

Creative Commons License

Recent Comments