Problem/Motivation

In TimestampFormatter

    $form['time_diff']['description'] = [
      '#type' => 'item',
    ];

item is '#input' => TRUE so this gets into config (opsie).

Steps to reproduce

Proposed resolution

Just add description to schema. Is it a good way to do it? Nope. It's not. But what else can be done? Much like the block issue, removing description from Views and such is too hard. And I do not see a submit method for FormatterInterface::settingsForm so it can't be removed even from the values array easily.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3574942

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

ghost of drupal past created an issue. See original summary.

yce’s picture

Component: views.module » configuration entity system
StatusFileSize
new529 bytes

Adding the description field's schema to `core.entity.schema.yml` seems to solve the validation issue.

ishani patel made their first commit to this issue’s fork.

ishani patel’s picture

Assigned: Unassigned » ishani patel

I've raised a PR for the time diff description.
Kindly check and review it.

Thank you!

ishani patel’s picture

Assigned: ishani patel » Unassigned
Status: Active » Needs review
idebr’s picture

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.