You are here

public function DeviceInterface::setOrientation in Responsive Theme Preview 8

Sets the device orientation.

Parameters

string $orientation: The device orientation. The only values allowed are: 'landscape' and 'portrait'.

1 method overrides DeviceInterface::setOrientation()
Device::setOrientation in src/Entity/Device.php
Sets the device orientation.

File

src/DeviceInterface.php, line 43

Class

DeviceInterface
Provides an interface for defining Device entities.

Namespace

Drupal\responsive_preview

Code

public function setOrientation($orientation);