You are here

protected static function MachineNameWidget::getSettingsKeys in Machine Name Widget 8

Gets the machine name settings.

Return value

array Array of keys.

2 calls to MachineNameWidget::getSettingsKeys()
MachineNameWidget::defaultSettings in src/Plugin/Field/FieldWidget/MachineNameWidget.php
Defines the default settings for this plugin.
MachineNameWidget::formElement in src/Plugin/Field/FieldWidget/MachineNameWidget.php
Returns the form for a single field widget.

File

src/Plugin/Field/FieldWidget/MachineNameWidget.php, line 69
Contains \Drupal\machine_name_widget\Plugin\Field\FieldWidget\MachineNameWidget.

Class

MachineNameWidget
Plugin implementation of the 'machine_name' widget.

Namespace

Drupal\machine_name_widget\Plugin\Field\FieldWidget

Code

protected static function getSettingsKeys() {
  return [
    'exists',
    'source',
    'label',
    'replace_pattern',
    'replace',
  ];
}