0

I am using $entity->save() on a custom hook_cron that runs every minute. Does anyone knows if by doing $entity->save() , Drupal will clear the page cache of the nodes/views/panels housing it?

1 Answer 1

1

I know that node_form_submit will clear ALL page caches. Sounds like what you're looking for is something like the expire module.

1
  • This sounds good to me. In fact, I wasn't hoping for the cache to expire. The custom module generally writes to a field collection for internal audit. Only the admins/authors are able to see this field collection in their panel pages filled with views.
    – Logi
    Aug 27, 2014 at 18:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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