You are here

public function WebformCard::isRoot in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_cards/src/Plugin/WebformElement/WebformCard.php \Drupal\webform_cards\Plugin\WebformElement\WebformCard::isRoot()

Checks if the element is a root element.

Return value

bool TRUE if the element is a root element.

Overrides WebformElementBase::isRoot

File

modules/webform_cards/src/Plugin/WebformElement/WebformCard.php, line 55

Class

WebformCard
Provides a 'card' element.

Namespace

Drupal\webform_cards\Plugin\WebformElement

Code

public function isRoot() {
  return TRUE;
}