You are here

private function ImageWatermarkEffect::getAlignPositions in Image effect kit 8

2 calls to ImageWatermarkEffect::getAlignPositions()
ImageWatermarkEffect::buildConfigurationForm in src/Plugin/ImageEffect/ImageWatermarkEffect.php
Form constructor.
ImageWatermarkEffect::getSummary in src/Plugin/ImageEffect/ImageWatermarkEffect.php
Returns a render array summarizing the configuration of the image effect.

File

src/Plugin/ImageEffect/ImageWatermarkEffect.php, line 226
Contains \Drupal\iek\Plugin\ImageEffect\ImageWatermarkEffect.

Class

ImageWatermarkEffect
IEK - Watermark.

Namespace

Drupal\iek\Plugin\ImageEffect

Code

private function getAlignPositions() {
  return [
    'top_left' => $this
      ->t('Top Left'),
    'top_center' => $this
      ->t('Top Center'),
    'top_right' => $this
      ->t('Top Right'),
    'middle_left' => $this
      ->t('Middle Left'),
    'middle_center' => $this
      ->t('Middle Center'),
    'middle_right' => $this
      ->t('Middle Right'),
    'bottom_left' => $this
      ->t('Bottom Left'),
    'bottom_center' => $this
      ->t('Bottom Center'),
    'bottom_right' => $this
      ->t('Bottom Right'),
    'coordinate' => $this
      ->t('Coordinate'),
  ];
}