You are here

public function Device::getOrientation in Responsive Theme Preview 8

Gets the device orientation.

Return value

string The device orientation.

Overrides DeviceInterface::getOrientation

File

src/Entity/Device.php, line 107

Class

Device
Defines the Device entity.

Namespace

Drupal\responsive_preview\Entity

Code

public function getOrientation() {
  return $this->orientation;
}