Webform element default and translated properties are now declared using the WebformElementBase::defineDefaultPropertiesand WebformElementBase::defineTranslatedProperties
To allows webform element default properties to be alterable and cachable, default properties all developers should use WebformElementBase::defineDefaultProperties instead of WebformElementBase::getDefaultProperties
Webform element properties can now be altered via hook_webform_element_default_properties_alter().
To allow custom element default properties to be alterable and cached, developers should change method calls and code from…
public function WebformElementBase::getDefaultProperties();
to
protected static function defineDefaultProperties
The below methods will still work as expected. Code overriding these methods will not have default properties cached or alterable.
WebformElementBase::getDefaultProperties
WebformElementBase::getTranslatedProperties
The below protected methods have been deprecated and will be removed in Webform 8.x-6.x. Any code or calls to..
WebformElementBase::getDefaultMultipleProperties should be changed to WebformElementBase::defineDefaultMultipleProperties()
WebformElementBase::getDefaultBaseProperties should be changed to WebformElementBase::defineDefaultBaseProperties()