You are here

public function WebformInterface::deleteElement in Webform 8.5

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

Remove an element.

Parameters

string $key: The element's key.

1 method overrides WebformInterface::deleteElement()
Webform::deleteElement in src/Entity/Webform.php
Remove an element.

File

src/WebformInterface.php, line 716

Class

WebformInterface
Provides an interface defining a webform entity.

Namespace

Drupal\webform

Code

public function deleteElement($key);