You are here

public function TextimageInterface::setTargetExtension in Textimage 8.4

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

Sets the image file extension.

Parameters

string $extension: The file extension to be used (e.g. jpeg/png/gif).

Return value

$this

1 method overrides TextimageInterface::setTargetExtension()
Textimage::setTargetExtension in src/Textimage.php
Sets the image file extension.

File

src/TextimageInterface.php, line 44

Class

TextimageInterface
Provides an interface for Textimage objects.

Namespace

Drupal\textimage

Code

public function setTargetExtension($extension);