You are here

public function WebformElementInterface::getDefaultProperty in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::getDefaultProperty()

Get an element's default property value.

Parameters

string $property_name: An element's property name.

Return value

mixed An element's default property value or NULL if default property does not exist.

1 method overrides WebformElementInterface::getDefaultProperty()
WebformElementBase::getDefaultProperty in src/Plugin/WebformElementBase.php
Get an element's default property value.

File

src/Plugin/WebformElementInterface.php, line 55

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function getDefaultProperty($property_name);