Same name in other branches
  1. 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setRenderer()
  2. 8.x-4.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setRenderer()

Set renderer.

Parameters

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

Return value

$this

File

src/AdvaggSettersTrait.php, line 241

Class

AdvaggSettersTrait
The trait setters of ADVAGG module.

Namespace

Drupal\advagg

Code

public function setRenderer(RendererInterface $renderer) {
    $this->renderer = $renderer;
    return $this;
}