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