You are here

private function SettingsDataTrait::getValidThumbnailSettings in Acquia Lift Connector 8

Same name in this branch
  1. 8 src/Tests/SettingsDataTrait.php \Drupal\acquia_lift\Tests\SettingsDataTrait::getValidThumbnailSettings()
  2. 8 tests/src/Unit/Traits/SettingsDataTrait.php \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait::getValidThumbnailSettings()

Get a valid thumbnail settings array.

Return value

array A valid thumbnail settings array.

1 call to SettingsDataTrait::getValidThumbnailSettings()
SettingsDataTrait::setValidSettings in src/Tests/SettingsDataTrait.php
Set valid settings.

File

src/Tests/SettingsDataTrait.php, line 82
Contains \Drupal\acquia_lift\Tests\SettingsDataTrait.

Class

SettingsDataTrait
Settings Data Trait.

Namespace

Drupal\acquia_lift\Tests

Code

private function getValidThumbnailSettings() {
  return [
    'article' => [
      'field' => 'field_media->field_image',
      'style' => 'medium',
    ],
  ];
}