public function BrightcovePlayer::getUnits in Brightcove Video Connect 3.x
Same name and namespace in other branches
- 8.2 src/Entity/BrightcovePlayer.php \Drupal\brightcove\Entity\BrightcovePlayer::getUnits()
Returns the units for the height and width.
Return value
string The units for the height and width.
Overrides BrightcovePlayerInterface::getUnits
File
- src/
Entity/ BrightcovePlayer.php, line 92
Class
- BrightcovePlayer
- Defines the Brightcove Player.
Namespace
Drupal\brightcove\EntityCode
public function getUnits() {
return $this
->get('units')->value;
}