InsertLinkedEffect.php in Insert 8
File
src/Plugin/ImageEffect/InsertLinkedEffect.php
View source
<?php
namespace Drupal\insert\Plugin\ImageEffect;
use Drupal\Core\Image\ImageInterface;
use Drupal\image\ImageEffectBase;
class InsertLinkedEffect extends ImageEffectBase {
public function applyEffect(ImageInterface $image) {
return TRUE;
}
}
Classes
Name |
Description |
InsertLinkedEffect |
The effect does not alter images in any way. Its purpose is to just identify
images that shall be wrapped in links to their corresponding original sized
images when inserting images using the Insert button. |