You are here

public function ContextProviderInterface::setProvidedValue in Rules 8.3

Sets the value for a provided context.

Parameters

string $name: The name of the provided context in the plugin definition.

mixed $value: The value to set the provided context to.

Return value

$this

File

src/Context/ContextProviderInterface.php, line 27

Class

ContextProviderInterface
Interface for plugins that provide context.

Namespace

Drupal\rules\Context

Code

public function setProvidedValue($name, $value);