You are here

public function ImageStyleInterface::setName in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::setName()

Sets the name of the image style.

Parameters

string $name: The name of the image style.

Return value

$this The class instance this method is called on.

1 method overrides ImageStyleInterface::setName()
ImageStyle::setName in core/modules/image/src/Entity/ImageStyle.php
Sets the name of the image style.

File

core/modules/image/src/ImageStyleInterface.php, line 43

Class

ImageStyleInterface
Provides an interface defining an image style entity.

Namespace

Drupal\image

Code

public function setName($name);