Move code from to new method

  • WebformElementBase::getDefaultProperties to protected WebformElementBase::defineDefaultProperties

Update WebformElementBase::getDefaultProperties

  • Call WebformElementBase::defineDfaultProperties
  • Add hook_webform_element_default_properties_alter()
  • Add caching

Deprecate and rename protected method

  • WebformElementBase::getDefaultMultipleProperties to WebformElementBase::defineDefaultMultipleProperties
  • WebformElementBase::getDefaultBaseProperties to WebformElementBase:defineDefaultBaseProperties
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Priority: Normal » Major
Status: Active » Needs review
FileSize
99.28 KB
jrockowitz’s picture

  • 5419dd4 committed on 3107540-default-properties
    Issue #3107540: Rename get default properties and related methods mark...
  • c3ce4a1 committed on 3107540-default-properties
    Issue #3107540 by jrockowitz: Rename get default properties and related...

  • d5d6a6e committed on 3107540-default-properties
    Issue #3107540 by jrockowitz: Rename get default properties and related...
jrockowitz’s picture

Issue summary: View changes
FileSize
101.04 KB

  • f138891 committed on 3107540-default-properties
    Issue #3107540 by jrockowitz: Rename get default properties and related...
jrockowitz’s picture

jrockowitz’s picture

Title: Rename get default properties and related methods mark as deprecated. » Refactor and rename get default properties and related methods

  • 742e926 committed on 3107540-default-properties
    Issue #3107540 by jrockowitz: Rename get default properties and related...
jrockowitz’s picture

jrockowitz’s picture

Here is a cleaner patch.

jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz authored ee79e5a on 8.x-5.x
    refactor/api (MAJOR): Issue #3107540 by jrockowitz: Refactor and rename...
jrockowitz’s picture

Status: Needs review » Fixed

  • 82f106f committed on 8.x-5.x
    Issue #3107540 by jrockowitz: Refactor and rename get default properties...

Status: Fixed » Closed (fixed)

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