You are here

protected function Url::defineDefaultProperties in Webform 8.5

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

Define an element's default properties.

Return value

array An associative array contain an the element's default properties.

Overrides TextBase::defineDefaultProperties

File

src/Plugin/WebformElement/Url.php, line 23

Class

Url
Provides a 'url' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function defineDefaultProperties() {
  return [
    'input_hide' => FALSE,
  ] + parent::defineDefaultProperties() + $this
    ->defineDefaultMultipleProperties();
}