function RulesComponent::provideContext
Marks the given context to be provided back to the caller.
Parameters
string $name: The name of the context to provide.
Return value
$this
File
-
src/
Engine/ RulesComponent.php, line 190
Class
- RulesComponent
- Handles executable Rules components.
Namespace
Drupal\rules\EngineCode
public function provideContext($name) {
$this->providedContext[] = $name;
return $this;
}