Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TelephoneDefaultWidget.php

function TelephoneDefaultWidget::defaultSettings

Overrides PluginSettingsBase::defaultSettings

File

core/modules/telephone/src/Plugin/Field/FieldWidget/TelephoneDefaultWidget.php, line 25

Class

TelephoneDefaultWidget
Plugin implementation of the 'telephone_default' widget.

Namespace

Drupal\telephone\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
    return [
        'placeholder' => '',
    ] + parent::defaultSettings();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal