You are here

public function ImageStyleInterface::setName in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::setName()
  2. 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 29

Class

ImageStyleInterface
Provides an interface defining an image style entity.

Namespace

Drupal\image

Code

public function setName($name);