You are here

public function ImageStyleWithPipeline::hasPipeline in Image Optimize (or ImageAPI Optimize) 4.x

Same name and namespace in other branches
  1. 8.3 src/Entity/ImageStyleWithPipeline.php \Drupal\imageapi_optimize\Entity\ImageStyleWithPipeline::hasPipeline()
  2. 8.2 src/Entity/ImageStyleWithPipeline.php \Drupal\imageapi_optimize\Entity\ImageStyleWithPipeline::hasPipeline()
1 call to ImageStyleWithPipeline::hasPipeline()
ImageStyleWithPipeline::createDerivative in src/Entity/ImageStyleWithPipeline.php
Creates a new image derivative based on this image style.

File

src/Entity/ImageStyleWithPipeline.php, line 64

Class

ImageStyleWithPipeline

Namespace

Drupal\imageapi_optimize\Entity

Code

public function hasPipeline() {
  return (bool) $this
    ->getPipelineEntity();
}