You are here

public function StyleBase::getAnimation in GridStack 8.2

Returns an animation.

1 call to StyleBase::getAnimation()
Media::prepareMedia in src/Plugin/gridstack/stylizer/Media.php
Returns the formatted media as Blazy output.

File

src/Plugin/gridstack/stylizer/StyleBase.php, line 138

Class

StyleBase
Provides the base styles.

Namespace

Drupal\gridstack\Plugin\gridstack\stylizer

Code

public function getAnimation(array $settings, $key = 'animation') {
  return $this
    ->getStyle($key, $settings, 'animations');
}