You are here

public function WebformElementManagerInterface::getElementPluginId in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElementManagerInterface.php \Drupal\webform\Plugin\WebformElementManagerInterface::getElementPluginId()

Is an element's plugin id.

Parameters

array $element: A element.

Return value

string An element's $type has a corresponding plugin id, else fallback 'element' plugin id.

1 method overrides WebformElementManagerInterface::getElementPluginId()
WebformElementManager::getElementPluginId in src/Plugin/WebformElementManager.php
Is an element's plugin id.

File

src/Plugin/WebformElementManagerInterface.php, line 111

Class

WebformElementManagerInterface
Collects available webform elements.

Namespace

Drupal\webform\Plugin

Code

public function getElementPluginId(array $element);