You are here

public function WebformElementInterface::isRoot in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::isRoot()

Checks if the element is a root element.

Return value

bool TRUE if the element is a root element.

1 method overrides WebformElementInterface::isRoot()
WebformElementBase::isRoot in src/Plugin/WebformElementBase.php
Checks if the element is a root element.

File

src/Plugin/WebformElementInterface.php, line 191

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function isRoot();