public function ImageAPIOptimizePipeline::setName in Image Optimize (or ImageAPI Optimize) 4.x
Same name and namespace in other branches
- 8.3 src/Entity/ImageAPIOptimizePipeline.php \Drupal\imageapi_optimize\Entity\ImageAPIOptimizePipeline::setName()
- 8.2 src/Entity/ImageAPIOptimizePipeline.php \Drupal\imageapi_optimize\Entity\ImageAPIOptimizePipeline::setName()
Sets the name of the image optimize pipeline.
Parameters
string $name: The name of the image optimize pipeline.
Return value
\Drupal\imageapi_optimize\ImageAPIOptimizePipelineInterface The class instance this method is called on.
Overrides ImageAPIOptimizePipelineInterface::setName
File
- src/
Entity/ ImageAPIOptimizePipeline.php, line 280
Class
- ImageAPIOptimizePipeline
- Defines an image optimize pipeline configuration entity.
Namespace
Drupal\imageapi_optimize\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}