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.
In og.module the function og_features_pipe_alter()
only allows to prevent OG related fields from being
piped with features 1.x as only the case in which $pipe['field']
is populated, is taken care of.
The patch attached also handles the features 2.x case by checking also the
$pipe['field_base']
and $pipe['field_instance']
options, which are not empty for exported
fields when using features 2.x (features 2.x divides the exported field to "field_base" and "field_instance" whereas features 1.x does not).
Comment | File | Size | Author |
---|---|---|---|
support-features-2.patch | 1.38 KB | ranroz | |
Comments
Comment #1
amitaibuPlease add to the PHPdocs that we now support Features 1.x and 2.x
Comment #2
amitaibuAdded comment, and committed, thanks.