public static function BrightcoveVideoPlaylistCmsEntity::getDefaultReferenceId in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveVideoPlaylistCmsEntity.php \Drupal\brightcove\Entity\BrightcoveVideoPlaylistCmsEntity::getDefaultReferenceId()
- 3.x src/Entity/BrightcoveVideoPlaylistCmsEntity.php \Drupal\brightcove\Entity\BrightcoveVideoPlaylistCmsEntity::getDefaultReferenceId()
Default value callback for 'reference_id' base field definition.
Return value
array An array of default values.
See also
::baseFieldDefinitions()
File
- src/
Entity/ BrightcoveVideoPlaylistCmsEntity.php, line 48
Class
- BrightcoveVideoPlaylistCmsEntity
- Common base class for CMS entities like Video and Playlist.
Namespace
Drupal\brightcove\EntityCode
public static function getDefaultReferenceId() {
return [
'drupal:' . \Drupal::CORE_COMPATIBILITY . ":" . \Drupal::currentUser()
->id() . ":" . md5(microtime()),
];
}