public function BrightcoveCustomFieldInterface::setType in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/BrightcoveCustomFieldInterface.php \Drupal\brightcove\BrightcoveCustomFieldInterface::setType()
- 3.x src/BrightcoveCustomFieldInterface.php \Drupal\brightcove\BrightcoveCustomFieldInterface::setType()
Sets the type of the field.
Parameters
string $type: The type of the field, it can be either 'enum' or 'string'.
Return value
\Drupal\brightcove\BrightcoveCustomFieldInterface The called Brightcove Custom Field.
1 method overrides BrightcoveCustomFieldInterface::setType()
- BrightcoveCustomField::setType in src/
Entity/ BrightcoveCustomField.php - Sets the type of the field.
File
- src/
BrightcoveCustomFieldInterface.php, line 84
Class
- BrightcoveCustomFieldInterface
- Provides an interface defining a Brightcove custom field.
Namespace
Drupal\brightcoveCode
public function setType($type);