Problem/Motivation

While editing a microblog inline, there are a bunch of fields visible, including the publish status. This module should handle the publishing and posting process, and so fields beyond the relevant social media platform fields do not need to be visible while editing the microblog inline.

There is also a relevant warning that should be fixed while cleaning this up:

Warning: Undefined array key "#bundle" in social_post_controller_hide_microblog_fields() (line 194 of modules/contrib/social_post_controller/social_post_controller.module).

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

megakeegman created an issue. See original summary.

megakeegman’s picture

Status: Active » Needs review

In the issue fork, I have simply added a new form mode and form and configured a new form display for microblog. Since adding the microblog reference field to a content type occurs manually right now, configuring the field widget to use the spc inline microblog form mode should be documented before this is closed. Otherwise, before merging and closing this issue, I want to think over the form mode name.

megakeegman’s picture

  • megakeegman committed 60bc6939 on 1.0.x
    Issue #3519981: Properly hide fields of inline referenced microblog
    
megakeegman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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