public function WebformElementInterface::hasProperty in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::hasProperty()
Determine if the element supports a specified property.
Parameters
string $property_name: An element's property name.
Return value
bool TRUE if the element supports a specified property.
1 method overrides WebformElementInterface::hasProperty()
- WebformElementBase::hasProperty in src/
Plugin/ WebformElementBase.php - Determine if the element supports a specified property.
File
- src/
Plugin/ WebformElementInterface.php, line 80
Class
- WebformElementInterface
- Defines the interface for webform elements.
Namespace
Drupal\webform\PluginCode
public function hasProperty($property_name);