private function ImageResizeEffect::getAlignPositions in Image effect kit 8
2 calls to ImageResizeEffect::getAlignPositions()
- ImageResizeEffect::buildConfigurationForm in src/Plugin/ImageEffect/ImageResizeEffect.php
- Form constructor.
- ImageResizeEffect::getSummary in src/Plugin/ImageEffect/ImageResizeEffect.php
- Returns a render array summarizing the configuration of the image effect.
File
- src/Plugin/ImageEffect/ImageResizeEffect.php, line 205
- Contains \Drupal\iek\Plugin\ImageEffect\ImageResizeEffect.
Class
- ImageResizeEffect
- IEK - Resize.
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'),
];
}