Problem/Motivation

Currently the layout_builder__blocks field definition is added via hook_entity_base_field_info_alter(), however the correct hook to provide new field definitions is hook_entity_base_field_info(). This forces modules wishing to alter the definition to rely on tweaking module weights or hook_module_implements_alter().

Proposed resolution

Use hook_entity_base_field_info() to provide the field definition.

Remaining tasks

  • Write a patch
  • Reviews

User interface changes

None

API changes

None

Data model changes

None

Comments

plach created an issue. See original summary.

plach’s picture

Assigned: plach » Unassigned
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.23 KB