Allow for export of user D7 entity fields to slave sites

Created on 30 November 2017, over 7 years ago
Updated 15 May 2025, 2 days ago

Bakery's configuration form does not currently include fields added to the user entity in Drupal 7. The current code in bakery.module includes a legacy snippet that was intended to work with Drupal 6's profile project, and added those custom fields to the form. See lines 614-619:

  if (module_exists('profile')) {
    $result = db_query('SELECT name, title FROM {profile_field} ORDER BY category, weight');
    foreach ($result as $field) {
      $options[$field->name] = check_plain($field->title);
    }
  }

This obviously will not work in Drupal 7.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States argiepiano

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024