public function BrightcoveCustomField::getType in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveCustomField.php \Drupal\brightcove\Entity\BrightcoveCustomField::getType()
- 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\EntityCode
public function getType() {
return $this
->get('type')->value;
}