You are here

public function BrightcoveCustomField::setCustomFieldId in Brightcove Video Connect 8

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

Sets the Brightcove ID of the Custom Field.

Parameters

string $custom_field_id: The ID of the Custom Field on Brightcove.

Return value

\Drupal\brightcove\BrightcoveCustomFieldInterface The called Brightcove Custom Field.

Overrides BrightcoveCustomFieldInterface::setCustomFieldId

File

src/Entity/BrightcoveCustomField.php, line 53

Class

BrightcoveCustomField
Defines the Brightcove Custom Field.

Namespace

Drupal\brightcove\Entity

Code

public function setCustomFieldId($custom_field_id) {
  return $this
    ->set('custom_field_id', $custom_field_id);
}