public function WebformElementBase::isDisabled in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::isDisabled()
Checks if the element is disabled.
Return value
bool TRUE if the element is disabled.
Overrides WebformElementInterface::isDisabled
2 calls to WebformElementBase::isDisabled()
- WebformElementBase::prepare in src/
Plugin/ WebformElementBase.php - Prepare an element to be rendered within a webform.
- WebformManagedFileBase::getTestValues in src/
Plugin/ WebformElement/ WebformManagedFileBase.php - Get test values for an element.
File
- src/
Plugin/ WebformElementBase.php, line 594
Class
- WebformElementBase
- Provides a base class for a webform element.
Namespace
Drupal\webform\PluginCode
public function isDisabled() {
return !$this
->isEnabled();
}