You are here

public function TamperableItemInterface::setSourceProperty in Tamper 8

Sets a source property.

Parameters

string $property: A property on the source.

mixed $data: The property value to set on the source.

2 methods override TamperableItemInterface::setSourceProperty()
TamperableComplexDataAdapter::setSourceProperty in src/Adapter/TamperableComplexDataAdapter.php
Sets a source property.
TamperItem::setSourceProperty in src/TamperItem.php
Sets a source property.

File

src/TamperableItemInterface.php, line 26

Class

TamperableItemInterface
Interface for an item that can be tampered as part of a plugin's execution.

Namespace

Drupal\tamper

Code

public function setSourceProperty($property, $data);