WebformElement WebformComputedBase::getMode() calls WebformComputedBaseElement::getMode(), causing the WebformComputedBaseElement::getMode() function to not be overridable when extending the WebformComputedBaseElement class.

Patch incoming.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

matthiasm11 created an issue. See original summary.

matthiasm11’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
631 bytes

Fixed in the attached patch.
Used the same approach as WebformElement WebformComputedBase::computeValue().

jrockowitz’s picture

Status: Needs review » Reviewed & tested by the community
jrockowitz’s picture

Status: Reviewed & tested by the community » Fixed

  • matthiasm11 authored 0d50997 on 8.x-5.x
    Issue #3194187 by matthiasm11: getMode should be extendable
    
  • matthiasm11 authored 0d50997 on 8.x-5.x
    Issue #3194187 by matthiasm11: getMode should be extendable
    

  • matthiasm11 authored 0d50997 on 6.x
    Issue #3194187 by matthiasm11: getMode should be extendable
    
  • matthiasm11 authored 0d50997 on 6.x
    Issue #3194187 by matthiasm11: getMode should be extendable
    

Status: Fixed » Closed (fixed)

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