Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Posted by xjm
Problem/Motivation
This is a followup issue for #1535868: Convert all blocks into plugins and #1874830: Add a test block plugin implementation with test coverage.
- #1535868: Convert all blocks into plugins introduces a
BlockPluginUI
for placing and configuring blocks. - The goal is to eventually replace much of this interface, but if this does not happen before feature freeze, the existing UI will need test coverage.
- There are no explicit unit-style tests for the class's methods.
- Not all of the UI's functionality has test coverage.
- There is no explicit test coverage for new features of the UI.
Proposed resolution
- Determine which UI functionality is already tested in the Block module's tests.
- Add web tests for those UI features that are not already covered.
- Add explicit unit-like tests for
BlockPluginUI
methods. - Use the test implementation added in #1874830: Add a test block plugin implementation with test coverage.
Comments
Comment #0.0
xjmUpdated issue summary.
Comment #0.1
xjmUpdated issue summary.
Comment #0.2
xjmUpdated issue summary.
Comment #1
xjmComment #1.0
xjmUpdated issue summary.
Comment #2
xjmClosing as duplicate of #2056513: Remove PluginUI subsystem, provide block plugins UI as one-off.
Comment #2.0
xjmRemoving myself from the author field so that I can unfollow. --xjm