function TestDifferentDisplays::getSourceFieldName

Same name in other branches
  1. 9 core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/TestDifferentDisplays.php \Drupal\media_test_source\Plugin\media\Source\TestDifferentDisplays::getSourceFieldName()
  2. 8.9.x core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/TestDifferentDisplays.php \Drupal\media_test_source\Plugin\media\Source\TestDifferentDisplays::getSourceFieldName()
  3. 11.x core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/TestDifferentDisplays.php \Drupal\media_test_source\Plugin\media\Source\TestDifferentDisplays::getSourceFieldName()

Overrides MediaSourceBase::getSourceFieldName

File

core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/TestDifferentDisplays.php, line 47

Class

TestDifferentDisplays
Provides test media source.

Namespace

Drupal\media_test_source\Plugin\media\Source

Code

protected function getSourceFieldName() {
    return 'field_media_different_display';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.