PHP Fatal error: Declaration of Drupal\devel\Plugin\Block\\DevelExecutePHP::access() must be compatible with Drupal\Core\Block\BlockPluginInterface::access(Drupal\Core\Session\AccountInterface $account, $return_as_object = false)

after #2342057: Expand BlockPluginInterface to take into account $return_as_object

CommentFileSizeAuthor
#1 devel-execute-php-block-2413763-1.patch677 byteswillzyx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

willzyx’s picture

  • willzyx committed a2adb30 on 8.x-1.x
    Issue #2413763 by willzyx: DevelExecutePHP block fatal error
    
willzyx’s picture

Status: Needs review » Fixed

Patch at #1 had a wrong approach. Removed access method and used blockAccess method to determine whether the block should be shown.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.