Problem/Motivation

Checking module code on drupal-check -a it gives:

 ------ ----------------------------------------------
  Line   block_class.module
 ------ ----------------------------------------------
  56     Call to an undefined method
         Drupal\Core\Form\FormInterface::getEntity().
 ------ ----------------------------------------------

 [ERROR] Found 1 error
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tvalimaa created an issue. See original summary.

tvalimaa’s picture

tvalimaa’s picture

Issue summary: View changes
guilhermevp’s picture

Status: Active » Reviewed & tested by the community
FileSize
9.58 KB
18.3 KB

I was able to reproduce the error, patch applies cleanly and drupal-check stops complaining about error after patch.

1

2

Neslee Canil Pinto’s picture

Thanks, will review and get back to you.

Neslee Canil Pinto’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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