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\EntityCode
public function getOrientation() {
return $this->orientation;
}