You are here

protected function BrightcoveVideo::getSourceFieldName in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 modules/media_entity_brightcove/src/Plugin/MediaEntity/Type/BrightcoveVideo.php \Drupal\media_entity_brightcove\Plugin\MediaEntity\Type\BrightcoveVideo::getSourceFieldName()
  2. 3.x modules/media_entity_brightcove/src/Plugin/MediaEntity/Type/BrightcoveVideo.php \Drupal\media_entity_brightcove\Plugin\MediaEntity\Type\BrightcoveVideo::getSourceFieldName()
1 call to BrightcoveVideo::getSourceFieldName()
BrightcoveVideo::createSourceFieldStorage in modules/media_entity_brightcove/src/Plugin/MediaEntity/Type/BrightcoveVideo.php

File

modules/media_entity_brightcove/src/Plugin/MediaEntity/Type/BrightcoveVideo.php, line 178

Class

BrightcoveVideo
Defines video field type for media.

Namespace

Drupal\media_entity_brightcove\Plugin\MediaEntity\Type

Code

protected function getSourceFieldName() {

  // Must be implemented to return something that fits into the 32 characters
  // limit for a field name.
  // @TODO: Check if this needs to be unique.
  // @see \Drupal\media_entity\MediaTypeBase::getSourceFieldName()
  return 'brightcove_video';
}