You are here

public function WebformElementInterface::hasProperty in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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\Plugin

Code

public function hasProperty($property_name);