You are here

public function RefineableCompilerContextInterface::setData in Compiler 1.0.x

Set the user-defined data to use for this context.

Parameters

mixed $data: The user-defined data to use for this context.

Return value

static The object itself for chaining.

1 method overrides RefineableCompilerContextInterface::setData()
RefineableCompilerContext::setData in src/RefineableCompilerContext.php
Set the user-defined data to use for this context.

File

src/RefineableCompilerContextInterface.php, line 37

Class

RefineableCompilerContextInterface
A refineable compiler context interface.

Namespace

Drupal\compiler

Code

public function setData($data) : self;