You are here

public function WebformInterface::setPropertyOverride in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::setPropertyOverride()

Sets the value of an overridden property.

Using this methods stops a webform from being saved with the overridden property.

Parameters

string $property_name: The name of the property that should be set.

mixed $value: The value the property should be set to.

Return value

$this

1 method overrides WebformInterface::setPropertyOverride()
Webform::setPropertyOverride in src/Entity/Webform.php
Sets the value of an overridden property.

File

src/WebformInterface.php, line 620

Class

WebformInterface
Provides an interface defining a webform entity.

Namespace

Drupal\webform

Code

public function setPropertyOverride($property_name, $value);