Resolves #3186688
1 unresolved thread
1 unresolved thread
Closes #3186688
Merge request reports
Activity
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); changed this line in version 5 of the diff
- Resolved by Lee Rowlands
added 1697 commits
-
5967deed...96418444 - 1687 commits from branch
project:9.4.x
- e84d3aea - Provide test coverage.
- f025451b - Add deprecation.
- 4c03023c - Config entity bundles overrides hook_entity_bundle_info() bundles.
- e7ceb946 - Only deprecate label alteration.
- 700b5207 - Polish
- e5f83a1c - Deprecation version is 9.4
- a5a869b8 - PHP CS
- 636fa1e3 - More CS
- 8514d186 - Typo
- 4a4ad144 - Fix tests
Toggle commit list-
5967deed...96418444 - 1687 commits from branch
added 1 commit
- 182bddb0 - Add documentation to hook_entity_bundle_info()
added 422 commits
-
182bddb0...1b1d4314 - 411 commits from branch
project:9.4.x
- 8892f423 - Provide test coverage.
- 1d473754 - Add deprecation.
- 44f09bdc - Config entity bundles overrides hook_entity_bundle_info() bundles.
- 06b025eb - Only deprecate label alteration.
- 0c371233 - Polish
- a1d11920 - Deprecation version is 9.4
- cdfb8a29 - PHP CS
- 5b063c3b - More CS
- 3b5378a7 - Typo
- 922c2983 - Fix tests
- c1b778b4 - Add documentation to hook_entity_bundle_info()
Toggle commit list-
182bddb0...1b1d4314 - 411 commits from branch
added 15 commits
-
c1b778b4...d96f555c - 4 commits from branch
project:9.4.x
- 7e88e22f - Provide test coverage.
- bdf91a4f - Add deprecation.
- 56aabc71 - Config entity bundles overrides hook_entity_bundle_info() bundles.
- 3299f48e - Only deprecate label alteration.
- 012c262f - Polish
- 495a727e - Deprecation version is 9.4
- 399b8b3d - PHP CS
- 66e528fd - More CS
- e57bdf75 - Typo
- 06238333 - Fix tests
- 3adc0038 - Add documentation to hook_entity_bundle_info()
Toggle commit list-
c1b778b4...d96f555c - 4 commits from branch
Please register or sign in to reply