tmgmt_entity.api.php 466 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Hooks provided by the Entity Translation Management module.
  5. */
  6. /**
  7. * @addtogroup tmgmt_source
  8. * @{
  9. */
  10. /**
  11. * Allows to alter $query used to list entities on specific entity type overview
  12. * pages.
  13. *
  14. * @see TMGMTEntityDefaultSourceUIController
  15. */
  16. function hook_tmgmt_entity_type_list_query_alter(EntityFieldQuery $query) {
  17. $query->entityCondition('type', array('article', 'page'));
  18. }
  19. /**
  20. * @} End of "addtogroup tmgmt_source".
  21. */