You are here

public function ImageEffectBase::label in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::label()

Returns the image effect label.

Return value

string The image effect label.

Overrides ImageEffectInterface::label

1 call to ImageEffectBase::label()
ImageEffectBase::getSummary in core/modules/image/src/ImageEffectBase.php
Returns a render array summarizing the configuration of the image effect.

File

core/modules/image/src/ImageEffectBase.php, line 101

Class

ImageEffectBase
Provides a base class for image effects.

Namespace

Drupal\image

Code

public function label() {
  return $this->pluginDefinition['label'];
}