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.
NodeLinkReport should call parent class in the constructor. This casuses the following error:
$this->pluginDefinition is null
Notice: Trying to access array offset on value of type null in Drupal\Core\Block\BlockBase->baseConfigurationDefaults() (line 90 of core/lib/Drupal/Core/Block/BlockBase.php).
Comment | File | Size | Author |
---|---|---|---|
#2 | call_parent_class-3120976-1.patch | 664 bytes | indytechcook |
Comments
Comment #2
indytechcook CreditAttribution: indytechcook at Agile Six Applications for Department of Veterans Affairs commentedComment #4
swirt@indytechcook Thank you for your contribution. Good catch.
Tested and merged.
Comment #5
swirtComment #6
swirt