interface WebformElementDisplayOnInterface in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElementDisplayOnInterface.php \Drupal\webform\Plugin\WebformElementDisplayOnInterface
Provides a 'display_on' interface hide/show element on form and/or view display.
Hierarchy
- interface \Drupal\webform\Plugin\WebformElementDisplayOnInterface
Expanded class hierarchy of WebformElementDisplayOnInterface
All classes that implement WebformElementDisplayOnInterface
8 files declare their use of WebformElementDisplayOnInterface
- View.php in src/
Plugin/ WebformElement/ View.php - WebformAttachmentBase.php in modules/
webform_attachment/ src/ Plugin/ WebformElement/ WebformAttachmentBase.php - WebformComputedBase.php in src/
Plugin/ WebformElement/ WebformComputedBase.php - WebformDisplayOnTrait.php in src/
Plugin/ WebformElement/ WebformDisplayOnTrait.php - WebformHorizontalRule.php in src/
Plugin/ WebformElement/ WebformHorizontalRule.php
File
- src/
Plugin/ WebformElementDisplayOnInterface.php, line 8
Namespace
Drupal\webform\PluginView source
interface WebformElementDisplayOnInterface {
/**
* Denotes display on both form and view displays.
*
* @var string
*/
const DISPLAY_ON_BOTH = 'both';
/**
* Denotes display on form display only.
*
* @var string
*/
const DISPLAY_ON_FORM = 'form';
/**
* Denotes display on view display only.
*
* @var string
*/
const DISPLAY_ON_VIEW = 'view';
/**
* Denotes never display the element.
*
* @var string
*/
const DISPLAY_ON_NONE = 'none';
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WebformElementDisplayOnInterface:: |
constant | Denotes display on both form and view displays. | ||
WebformElementDisplayOnInterface:: |
constant | Denotes display on form display only. | ||
WebformElementDisplayOnInterface:: |
constant | Denotes never display the element. | ||
WebformElementDisplayOnInterface:: |
constant | Denotes display on view display only. |