You are here

protected function FieldTemplateProcessor::getVariant in UI Patterns 8

Get mapping settings.

Return value

string Mapping settings.

1 call to FieldTemplateProcessor::getVariant()
FieldTemplateProcessor::process in modules/ui_patterns_ds/src/FieldTemplateProcessor.php
Process field template variables.

File

modules/ui_patterns_ds/src/FieldTemplateProcessor.php, line 104

Class

FieldTemplateProcessor
Class FieldTemplateProcessor.

Namespace

Drupal\ui_patterns_ds

Code

protected function getVariant() {
  return $this
    ->getSetting('pattern_variant');
}