Change record status: 
Project: 
Introduced in branch: 
8.x
Introduced in version: 
8.0
Description: 

The comment entity subject field uses the "string" widget by default now.
Its visibility and input size are now controlled via widget settings (previously it was exposed as an extra field).

Now the comment field instance settings do not have the "subject" key anymore.

Also the migration of comments has been changed, there are 2 comment types:

  1. comment - used for comments with subject input allowed.
  2. comment_no_subject -used for comments without subject field.

To get the visibility of a particular comment type:

Before:

$field = FieldConfig::loadByName('node', 'article', 'comment');
$subject_mode = $field->getSetting('subject');

After:

entity_get_form_display('comment', 'comment', 'default')->getComponent('subject');
Impacts: 
Site builders, administrators, editors
Module developers
Themers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done