You are here

protected function RowFieldset::getWrapperType in Views fieldsets 8.3

Object getWrapperType().

1 call to RowFieldset::getWrapperType()
RowFieldset::render in src/RowFieldset.php
Object render().

File

src/RowFieldset.php, line 102

Class

RowFieldset

Namespace

Drupal\views_fieldsets

Code

protected function getWrapperType() {
  $allowed = Fieldset::getWrapperTypes();
  $wrapper = $this->handler->options['wrapper'];
  if (isset($allowed[$wrapper])) {
    return $wrapper;
  }
  reset($allowed);
  return key($allowed);
}