Problem/Motivation

When adding a date_modified_block, this message will appear:

Warning: Undefined array key "date_modified" in Drupal\wxt_library\Plugin\Block\DateModifiedBlock->blockForm() (line 137 of modules/contrib/wxt_library/src/Plugin/Block/DateModifiedBlock.php).

Proposed resolution

Set a default value for $config['date_modified'].

Remaining tasks

Implement.

User interface changes

None, except that no warning will appear.

API changes

None.

Data model changes

None.

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

liam morland created an issue. See original summary.

liam morland’s picture

Assigned: liam morland » Unassigned
Status: Active » Needs review