You are here

public function BrightcoveVideo::getEconomics in Brightcove Video Connect 8

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

Returns the economics state.

Return value

bool The economics state of the video.

Overrides BrightcoveVideoInterface::getEconomics

1 call to BrightcoveVideo::getEconomics()
BrightcoveVideo::save in src/Entity/BrightcoveVideo.php

File

src/Entity/BrightcoveVideo.php, line 372

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

public function getEconomics() {
  return $this
    ->get('economics')->value;
}