Block plugin schema should be defined separately from the entity

Created on 25 May 2014, about 10 years ago
Updated 6 March 2024, 4 months ago

Problem/Motivation

The block config entity schema contains all of the properties of itself but also the block plugin schema itself.
However, any other module referencing a block plugin in a config entity has to redeclare the schema

Proposed resolution

Define the block plugin schema as its own type, and reference it from the block entity

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

πŸ“Œ Task
Status

Fixed

Version

8.0 ⚰️

Component
BlockΒ  β†’

Last updated about 6 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States tim.plunkett Philadelphia

Live updates comments and jobs are added and updated live.
  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

Sign in to follow issues

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