entity.install 555 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * @file
  4. * Install file for the entity API.
  5. */
  6. /**
  7. * The entity API modules have been merged into a single module.
  8. */
  9. function entity_update_7000() {
  10. // This empty update is required such that all caches are cleared as
  11. // necessary.
  12. }
  13. /**
  14. * Remove the deprecated 'entity_defaults_built' variable.
  15. */
  16. function entity_update_7001() {
  17. variable_del('entity_defaults_built');
  18. }
  19. /**
  20. * Clear caches and rebuild registry.
  21. */
  22. function entity_update_7002() {
  23. // Do nothing, update.php clears cache for us in case there is an update.
  24. }