Skip to content
Snippets Groups Projects

Resolves #3186688

Open Claudiu Cristea requested to merge issue/drupal-3186688:3186688-label into 9.4.x
1 unresolved thread

Closes #3186688

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
146 $altered_label_bundles[$entity_type_id][] = $bundle;
147 }
148 }
149 }
150 if ($altered_label_bundles) {
151 $altered_label_bundles_string = trim(
152 array_reduce(
153 array_keys($altered_label_bundles),
154 function (string $string, string $entity_type_id) use ($altered_label_bundles): string {
155 return $string . implode(', ', $altered_label_bundles[$entity_type_id]) . " ({$entity_type_id}) ";
156 },
157 ''
158 )
159 );
160 // @todo Convert deprecation to exception in drupal:10.0.0.
161 @trigger_error("Using hook_entity_bundle_info_alter() to alter the label of bundles stored as config entities is deprecated in drupal:9.2.0 and is not permitted in drupal:10.0.0. Label altered bundles: {$altered_label_bundles_string}. Use different methods to alter the label for bundles stored as config entities. See https://www.drupal.org/node/3186694", E_USER_DEPRECATED);
  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Claudiu Cristea changed target branch from 9.2.x to 9.4.x

    changed target branch from 9.2.x to 9.4.x

  • added 1 commit

    Compare with previous version

  • Lee Rowlands
  • Claudiu Cristea added 1697 commits

    added 1697 commits

    Compare with previous version

  • added 1 commit

    • 182bddb0 - Add documentation to hook_entity_bundle_info()

    Compare with previous version

  • Rashmi added 422 commits

    added 422 commits

    Compare with previous version

  • Rashmi added 15 commits

    added 15 commits

    Compare with previous version

  • Please register or sign in to reply
    Loading