public function WebformElementBase::getInfo in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::getInfo()
Retrieves the default properties for the defined element type.
Return value
array An associative array describing the element types being defined.
Overrides WebformElementInterface::getInfo
See also
\Drupal\Core\Render\ElementInfoManagerInterface::getInfo
File
- src/
Plugin/ WebformElementBase.php, line 601
Class
- WebformElementBase
- Provides a base class for a webform element.
Namespace
Drupal\webform\PluginCode
public function getInfo() {
return $this->elementInfo
->getInfo($this
->getBaseId());
}