Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download entity_view_mode-7.x-1.0-rc1.tar.gztar.gz
15.45 KB
MD5: bf1eda5d511a3817d4c73c69a0fe44da
SHA-1: f62578db4d313a12100450a3ea25450cfaa33362
SHA-256: 18152ce088b930c5c46ba4ec3a422124f8fce6960b58ca32998d1b2ec43a3b06
Download entity_view_mode-7.x-1.0-rc1.zipzip
18.72 KB
MD5: eb84ab25d1008c03a3fcb4c65ecc0bec
SHA-1: 4136381aa9a4d2b6181da47ea3ab4b26afde0a39
SHA-256: 5f58bd31ff7ba9f3efa3af72fa32e768e83888c050f41ce4c088d17975a18c15
Release notes
Changes since 7.x-1.0-beta3:
- #1955992 by bangpound, Dave Reid: Fixed view mode corruption caused by reassigning referenced variables.
- #1900668: Added hook_entity_view_mode_info() and hook_entity_view_mode_info_alter().
- #1795812 by Dave Reid, bangpound: Improved preprocessing of all entity types by using hook_entity_view().
- #1900686 by Dave Reid, RobW, Shaun Dychko: Fixed PHP notices. Added functional tests for entity_view_mode.
- Change entity_view_mode_get_enableD_bundles() to return the same format as entity_view_mode_get_possible_bundles().
- #1831766: Fixed suggestion for entity-type__bundle__view_mode is added in the wrong order if entity-type__bundle is not first in the array.
- Fixed entity_view_mode_load() did not attach a 'machine_name' value.