You are here

public function BlazyAdminTest::getLayoutOptions in Blazy 8

Same name and namespace in other branches
  1. 8.2 tests/modules/blazy_test/src/Form/BlazyAdminTest.php \Drupal\blazy_test\Form\BlazyAdminTest::getLayoutOptions()

Returns default layout options for the core Image, or Views.

1 call to BlazyAdminTest::getLayoutOptions()
BlazyAdminTest::buildSettingsForm in tests/modules/blazy_test/src/Form/BlazyAdminTest.php
Returns all settings form elements.

File

tests/modules/blazy_test/src/Form/BlazyAdminTest.php, line 165

Class

BlazyAdminTest
Provides resusable admin functions or form elements.

Namespace

Drupal\blazy_test\Form

Code

public function getLayoutOptions() {
  return [
    'bottom' => $this
      ->t('Caption bottom'),
    'center' => $this
      ->t('Caption center'),
    'top' => $this
      ->t('Caption top'),
  ];
}