public function BrightcoveCustomField::setEnumValues in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveCustomField.php \Drupal\brightcove\Entity\BrightcoveCustomField::setEnumValues()
- 3.x src/Entity/BrightcoveCustomField.php \Drupal\brightcove\Entity\BrightcoveCustomField::setEnumValues()
Sets the enum values.
Parameters
array $enum_values: The enum values array.
Return value
\Drupal\brightcove\BrightcoveCustomFieldInterface The called Brightcove Custom Field.
Overrides BrightcoveCustomFieldInterface::setEnumValues
File
- src/
Entity/ BrightcoveCustomField.php, line 67
Class
- BrightcoveCustomField
- Defines the Brightcove Custom Field.
Namespace
Drupal\brightcove\EntityCode
public function setEnumValues(array $enum_values) {
return $this
->set('enum_values', $enum_values);
}