Missing schema for PDF module

Created on 8 November 2021, over 2 years ago
Updated 25 March 2024, 3 months ago

Problem/Motivation

Drupal 8/9 config inspector β†’ reports 7 errors for any entity display that utilizes the pdf_default field type display formatter.

These fields have no schema defined to determine if the fields are booleans, integers, strings etc.

  1. keep_pdfjs
  2. width
  3. height
  4. page
  5. zoom
  6. custom_zoom
  7. pagemode

Steps to reproduce

Proposed resolution

Provide proper schema definitions for settings fields:

  1. keep_pdfjs: boolean?
  2. width: string
  3. height: string
  4. page: string (?)
  5. zoom: string
  6. custom_zoom: string
  7. pagemode: string (?)

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡¨Ecuador jwilson3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024