You are here

public function WebformElementInterface::getAdminLabel in Webform 8.5

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

Get an element's admin label (#admin_title, #title or #webform_key).

Parameters

array $element: An element.

Return value

string An element's label (#admin_title, #title or #webform_key).

1 method overrides WebformElementInterface::getAdminLabel()
WebformElementBase::getAdminLabel in src/Plugin/WebformElementBase.php
Get an element's admin label (#admin_title, #title or #webform_key).

File

src/Plugin/WebformElementInterface.php, line 431

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function getAdminLabel(array $element);