You are here

public function WebformElementInterface::getKey in Webform 8.5

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

Get an element's key/name.

Parameters

array $element: An element.

Return value

string An element's key/name.

1 method overrides WebformElementInterface::getKey()
WebformElementBase::getKey in src/Plugin/WebformElementBase.php
Get an element's key/name.

File

src/Plugin/WebformElementInterface.php, line 442

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function getKey(array $element);