function Image::apply

Same name in other branches
  1. 9 core/lib/Drupal/Core/Image/Image.php \Drupal\Core\Image\Image::apply()
  2. 10 core/lib/Drupal/Core/Image/Image.php \Drupal\Core\Image\Image::apply()
  3. 11.x core/lib/Drupal/Core/Image/Image.php \Drupal\Core\Image\Image::apply()

Overrides ImageInterface::apply

8 calls to Image::apply()
Image::convert in core/lib/Drupal/Core/Image/Image.php
Image::createNew in core/lib/Drupal/Core/Image/Image.php
Image::crop in core/lib/Drupal/Core/Image/Image.php
Image::desaturate in core/lib/Drupal/Core/Image/Image.php
Image::resize in core/lib/Drupal/Core/Image/Image.php

... See full list

File

core/lib/Drupal/Core/Image/Image.php, line 141

Class

Image
Defines an image object to represent an image file.

Namespace

Drupal\Core\Image

Code

public function apply($operation, array $arguments = []) {
    return $this->getToolkit()
        ->apply($operation, $arguments);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.