Problem/Motivation

The SEO fields setting on node type forms is useless if the type does not yet exist.
This will also cause problems if hooks ever get type checked / replaced by events with type checking as evidenced when using hook_event_dispatcher (typechecks on hook_entity_bundle_field_info_alter).

Proposed resolution

Add a check to see if the bundle exists before adding the SEO setting fields.

Comments

L_VanDamme created an issue. See original summary.

fernly’s picture

Status: Active » Needs review
StatusFileSize
new3.28 KB

Patch against current 6.x-dev branch.

  • rembrandx committed 5533ba4 on 6.x authored by Fernly
    Issue #3222561 by Fernly: SEO fields setting should not be shown on node...
rembrandx’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.