You are here

public function RefineableCompilerContext::setOptions in Compiler 1.0.x

Set the options to use for this context.

Parameters

array $options: The options to use for this context.

Return value

static The object itself for chaining.

Overrides RefineableCompilerContextInterface::setOptions

File

src/RefineableCompilerContext.php, line 81

Class

RefineableCompilerContext
A refineable compiler context used to define a compilation.

Namespace

Drupal\compiler

Code

public function setOptions(array $options) : self {
  $this->options = $options;
  return $this;
}