Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RotateImageEffect.php

function RotateImageEffect::defaultConfiguration

Overrides ImageEffectBase::defaultConfiguration

File

core/modules/image/src/Plugin/ImageEffect/RotateImageEffect.php, line 72

Class

RotateImageEffect
Rotates an image resource.

Namespace

Drupal\image\Plugin\ImageEffect

Code

public function defaultConfiguration() {
    return [
        'degrees' => 0,
        'bgcolor' => NULL,
        'random' => FALSE,
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal