You are here

public function BrightcoveCustomField::getType in Brightcove Video Connect 8.2

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

Returns the type of the field.

Return value

string The type of the field, which can be either 'enum' or 'string'.

Overrides BrightcoveCustomFieldInterface::getType

File

src/Entity/BrightcoveCustomField.php, line 88

Class

BrightcoveCustomField
Defines the Brightcove Custom Field.

Namespace

Drupal\brightcove\Entity

Code

public function getType() {
  return $this
    ->get('type')->value;
}