You are here

public function BrightcovePlayer::setUnits in Brightcove Video Connect 8.2

Same name and namespace in other branches
  1. 3.x 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\Entity

Code

public function setUnits($units) {
  return $this
    ->set('units', $units);
}