public function WebformElementBase::getPluginApiUrl in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::getPluginApiUrl()
Get the URL for the element's API documentation.
Return value
\Drupal\Core\Url|null The URL for the element's API documentation.
Overrides WebformElementInterface::getPluginApiUrl
2 calls to WebformElementBase::getPluginApiUrl()
- WebformElementBase::buildConfigurationForm in src/
Plugin/ WebformElementBase.php - Form constructor.
- WebformElementBase::getPluginApiLink in src/
Plugin/ WebformElementBase.php - Get link to element's API documentation.
File
- src/
Plugin/ WebformElementBase.php, line 496
Class
- WebformElementBase
- Provides a base class for a webform element.
Namespace
Drupal\webform\PluginCode
public function getPluginApiUrl() {
return !empty($this->pluginDefinition['api']) ? Url::fromUri($this->pluginDefinition['api']) : NULL;
}