You are here

public function YamlForm::hasFlexboxLayout in YAML Form 8

Determine if the form is using a Flexbox layout.

Return value

bool TRUE if if the form is using a Flexbox layout.

Overrides YamlFormInterface::hasFlexboxLayout

File

src/Entity/YamlForm.php, line 384

Class

YamlForm
Defines the form entity.

Namespace

Drupal\yamlform\Entity

Code

public function hasFlexboxLayout() {
  $this
    ->initElements();
  return $this->hasFlexboxLayout;
}