You are here

public function Webform::hasFlexboxLayout in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Entity/Webform.php \Drupal\webform\Entity\Webform::hasFlexboxLayout()

Determine if the webform is using a Flexbox layout.

Return value

bool TRUE if the webform is using a Flexbox layout.

Overrides WebformInterface::hasFlexboxLayout

File

src/Entity/Webform.php, line 813

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

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