You are here

public function RefineableCompilerContextInterface::setCompiler in Compiler 1.0.x

Set the machine name of the compiler plugin to use for this context.

Parameters

string $compiler: The machine name of the compiler plugin to use for this context.

Return value

static The object itself for chaining.

1 method overrides RefineableCompilerContextInterface::setCompiler()
RefineableCompilerContext::setCompiler in src/RefineableCompilerContext.php
Set the machine name of the compiler plugin to use for this context.

File

src/RefineableCompilerContextInterface.php, line 26

Class

RefineableCompilerContextInterface
A refineable compiler context interface.

Namespace

Drupal\compiler

Code

public function setCompiler(string $compiler) : self;