You are here

public function TextimageInterface::setStyle in Textimage 8.3

Same name and namespace in other branches
  1. 8.4 src/TextimageInterface.php \Drupal\textimage\TextimageInterface::setStyle()

Set the image style.

Parameters

\Drupal\image\ImageStyleInterface $image_style: The image style to be used to derive the Textimage.

Return value

$this

1 method overrides TextimageInterface::setStyle()
Textimage::setStyle in src/Textimage.php
Set the image style.

File

src/TextimageInterface.php, line 23

Class

TextimageInterface
Provides an interface for Textimage objects.

Namespace

Drupal\textimage

Code

public function setStyle(ImageStyleInterface $image_style);