You are here

private function AmpViewsCarouselStyle::getLayouts in Accelerated Mobile Pages (AMP) 8.3

AMP layouts

Expected by AmpFormTrait.

Return value

array Array of layout options allowed by this component.

File

src/Plugin/views/style/AmpViewsCarouselStyle.php, line 67

Class

AmpViewsCarouselStyle
Style plugin for the carousel view.

Namespace

Drupal\amp\Plugin\views\style

Code

private function getLayouts() {
  $options = $this
    ->allLayouts();
  unset($options['container']);
  unset($options['intrinsic']);
  return $options;
}