public function WebformOptionsCustom::getCss in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_options_custom/src/Plugin/WebformElement/WebformOptionsCustom.php \Drupal\webform_options_custom\Plugin\WebformElement\WebformOptionsCustom::getCss()
Returns the webform element's CSS.
Return value
string The webform element's CSS.
Overrides WebformElementAssetInterface::getCss
1 call to WebformOptionsCustom::getCss()
- WebformOptionsCustom::hasAssets in modules/
webform_options_custom/ src/ Plugin/ WebformElement/ WebformOptionsCustom.php - Determine if the element has assets.
File
- modules/
webform_options_custom/ src/ Plugin/ WebformElement/ WebformOptionsCustom.php, line 222
Class
- WebformOptionsCustom
- Provides a custom options element.
Namespace
Drupal\webform_options_custom\Plugin\WebformElementCode
public function getCss() {
return $this
->getEntity()
->get('css');
}