BTMash

Blob of contradictions

Articles tagged with entities


Caching Drupal entities for faster page loads

Written

About 2 years ago (soon after Drupal 7 was released), I had a site with a number of fields attached to a content type. When I had to clear caches and reload a page, it would take an awfully long time....

But I just want one field! Using field_attach_load()

Written

Yesterday evening, I was working with a client on their site who are doing some interesting things with one of their custom search pages. They send ajax requests to the backend to get 2 types of value...