You are here

public function BrightcoveVideo::setEconomics in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcoveVideo.php \Drupal\brightcove\Entity\BrightcoveVideo::setEconomics()
  2. 3.x src/Entity/BrightcoveVideo.php \Drupal\brightcove\Entity\BrightcoveVideo::setEconomics()

Sets the video's economics state.

Parameters

bool $economics: The economics state of the video.

Return value

\Drupal\brightcove\BrightcoveVideoInterface The called Brightcove Video.

Overrides BrightcoveVideoInterface::setEconomics

File

src/Entity/BrightcoveVideo.php, line 379

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

public function setEconomics($economics) {
  $this
    ->set('economics', $economics);
  return $this;
}