You are here

public function BrightcoveVideo::setCustomFieldValues in Brightcove Video Connect 8

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

Sets the custom field values.

Parameters

array $values: Field values keyed by field's ID.

Return value

\Drupal\brightcove\BrightcoveVideoInterface The called Brightcove Video.

Overrides BrightcoveVideoInterface::setCustomFieldValues

File

src/Entity/BrightcoveVideo.php, line 518

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

public function setCustomFieldValues(array $values) {
  return $this
    ->set('custom_field_values', $values);
}