function ImageStyleInterface::setName
Same name in other branches
- 8.9.x core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::setName()
- 10 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::setName()
- 11.x 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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.