You are here

public function WebformElementBase::isRoot in Webform 6.x

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

Checks if the element is a root element.

Return value

bool TRUE if the element is a root element.

Overrides WebformElementInterface::isRoot

3 methods override WebformElementBase::isRoot()
WebformActions::isRoot in src/Plugin/WebformElement/WebformActions.php
Checks if the element is a root element.
WebformCard::isRoot in modules/webform_cards/src/Plugin/WebformElement/WebformCard.php
Checks if the element is a root element.
WebformWizardPage::isRoot in src/Plugin/WebformElement/WebformWizardPage.php
Checks if the element is a root element.

File

src/Plugin/WebformElementBase.php, line 495

Class

WebformElementBase
Provides a base class for a webform element.

Namespace

Drupal\webform\Plugin

Code

public function isRoot() {
  return FALSE;
}