Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 23.44 KB
MD5: 7d5566cd6425d2dca4d0597984726eb8
SHA-1: a68b51c5de96454ca1db15a2421e220918b515d1
SHA-256: 911a2973bc6b8983e6bd2b8dbab5526a7d866e6f91756ce312af69cad6630f5e
Download zip 31.88 KB
MD5: 79682a79c6bb7b0bd5fd68ed41328364
SHA-1: c41ec7669845d638b2e6157ef5807dd36bbc515e
SHA-256: 6be74634c5f146ff1b4e6351fa67a0633bd5c438672db9dc08d0f0d2f830d359

Release notes

New beta release, on our road to a full release.

The main change of this release is the addition of the Behavior plugins. Those plugins allow other modules (for example: Organic Groups, Tree...) to extend the behavior of Entity Reference, while reusing all the widgets, formatters, selection plugins available in Entity Reference.

Note: This release changed the schema of the field (dropping the target_type column. Features exporting this field will need to be manually fixed.

API changes

  • The selection plugin interface has changed (including its name)
  • The schema of the field has changed. Module (incorrectly) storing the schema of the field (for example: Features) will need to be fixed.

Changes since 7.x-1.0-beta3

  • Follow-up to #1319040: make the upgrade path a tad more robust.
  • #1427040: Behaviors are not instantiated properly.
  • #1276272: Don't display bundle selection if the entity type doesn't have a bundle key.
  • #1345340: Make the base selection handler more robust to missing entity types.
  • Feature #1427032: allow behaviors to override the behavior of entityreference_field_is_empty().
  • Feature #1427038: Allow behaviors to alter the views data definition.
  • Follow-up to issue #1340748: prevent recursive loops when some module calls drupal_get_schema() inside hook_entity_info().
  • #1388650 by David Lesieur: Add an Entity id formatter.
  • #1422578: Change the signature of the behavior access method to EntityReference_BehaviorHandler::access($field, $instance) for better consistency.
  • #1422578: Invoke the behavior handler for schema and property info.
  • #1422580: Implement CTools class support properly to get automatic autoloading of the class plugins.
  • #1319040 follow up: update the field's indexes on update, to prevent WSOD when editing an existing field.
  • Show behavior plugin's description on field settings.
  • #1319040: Remove 'target_type' column form db.
  • Massive clean-up of the AJAX integration for the field settings form.
  • Prevent validation errors on the field configuration form.
  • Revert "Prevent validation errors on the field configuration form."
  • #1412572: Fixed No access check when referred items are being viewed.
  • #1343854 by Damien Tournoud, Amitaibu: Separate 'Selection' and 'behavior' to different plugins.
  • #1340748 by helior and myself: add foreign key information in the field schema for use by various other modules, especially CTools.
  • #1386868: Throw correct exception class in update.php.
Created by: damien tournoud
Created on: 13 Feb 2012 at 16:01 UTC
Last updated: 2 Aug 2018 at 04:56 UTC
Insecure
Unsupported

Other releases