public function Webform::hasContainer in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::hasContainer()
Determine if the webform has any containers.
Return value
bool TRUE if the webform has any containers.
Overrides WebformInterface::hasContainer
File
- src/
Entity/ Webform.php, line 820
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function hasContainer() {
$this
->initElements();
return $this->hasContainer;
}