MediaThumbnailFormatterTest::$mediaFieldName

Same name in other branches
  1. 9 core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php \Drupal\Tests\media\Kernel\MediaThumbnailFormatterTest::mediaFieldName
  2. 10 core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php \Drupal\Tests\media\Kernel\MediaThumbnailFormatterTest::mediaFieldName

Test media reference field name.

Type: string

File

core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php, line 30

Class

MediaThumbnailFormatterTest
@coversDefaultClass \Drupal\media\Plugin\Field\FieldFormatter\MediaThumbnailFormatter @group media

Namespace

Drupal\Tests\media\Kernel

Code

protected $mediaFieldName = 'field_media';

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