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

Breadcrumb

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

function ImageStyleInterface::getEffect

Returns a specific image effect.

Parameters

string $effect: The image effect ID.

Return value

\Drupal\image\ImageEffectInterface The image effect object.

1 method overrides ImageStyleInterface::getEffect()
ImageStyle::getEffect in core/modules/image/src/Entity/ImageStyle.php
Returns a specific image effect.

File

core/modules/image/src/ImageStyleInterface.php, line 151

Class

ImageStyleInterface
Provides an interface defining an image style entity.

Namespace

Drupal\image

Code

public function getEffect($effect);

API Navigation

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