You are here

public function YamlFormElementInterface::hasProperty in YAML Form 8

Determine if an 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 YamlFormElementInterface::hasProperty()
YamlFormElementBase::hasProperty in src/YamlFormElementBase.php
Determine if an element supports a specified property.

File

src/YamlFormElementInterface.php, line 79

Class

YamlFormElementInterface
Defines the interface for form elements.

Namespace

Drupal\yamlform

Code

public function hasProperty($property_name);