Add array return to all *_info hook implementations

Created on 21 November 2024, about 5 hours ago

Problem/Motivation

See 📌 [META] Add return types to hook implementations Active

All info hooks should return array, except hook_config_translation_info which takes the $info param as a reference.

Steps to reproduce

Proposed resolution

Add array return to the following hook implementations:

  • hook_entity_bundle_info
  • hook_entity_base_field_info
  • hook_entity_bundle_field_info
  • hook_entity_field_storage_info
  • hook_entity_extra_field_info
  • hook_hook_info
  • hook_updater_info
  • hook_filetransfer_info
  • hook_token_info
  • hook_language_types_info

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

other

Created by

🇦🇺Australia mstrelan

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024