You are here

public function BrightcoveCustomField::getCustomFieldId in Brightcove Video Connect 8

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

Returns the Brightcove ID of the Custom Field.

Return value

string Brightcove's Custom Field ID.

Overrides BrightcoveCustomFieldInterface::getCustomFieldId

File

src/Entity/BrightcoveCustomField.php, line 46

Class

BrightcoveCustomField
Defines the Brightcove Custom Field.

Namespace

Drupal\brightcove\Entity

Code

public function getCustomFieldId() {
  return $this
    ->get('custom_field_id')->value;
}