public function WebformCard::isRoot in Webform 8.5
Same name and namespace in other branches
- 6.x 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\WebformElementCode
public function isRoot() {
return TRUE;
}