You are here

protected function WebformElementBase::getDefaultBaseProperties in Webform 8.5

Get default base properties used by all elements.

Return value

array An associative array containing base properties used by all elements.

Deprecated

Scheduled for removal in Webform 8.x-6.x Use \Drupal\webform\Plugin\WebformElementBase::defineDefaultBaseProperties instead.

File

src/Plugin/WebformElementBase.php, line 409

Class

WebformElementBase
Provides a base class for a webform element.

Namespace

Drupal\webform\Plugin

Code

protected function getDefaultBaseProperties() {
  @trigger_error('\\Drupal\\webform\\Plugin\\WebformElementBase::getDefaultBaseProperties is scheduled for removal in Webform 8.x-6.x. Use \\Drupal\\webform\\Plugin\\WebformElementBase::defineDefaultBaseProperties instead.', E_USER_DEPRECATED);
  return $this
    ->defineDefaultBaseProperties();
}