Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293770

Add array return to all *_info hook implementations

$
0
0

Problem/Motivation

See #3483037: [META] Add return types to hook implementations

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


Viewing all articles
Browse latest Browse all 293770

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>