public function ImageStyleInterface::setName in Drupal 9
Same name and namespace in other branches
- 8 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\imageCode
public function setName($name);